Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website Styling Web Pages and Navigation Polish the Navigation and Footer

CSS values used in these videos.

How does he come with the values for the margins/padding etc so easy for the lessons?

1 Answer

Christian Blume
Christian Blume
10,424 Points

In this special case, I'd say preparation. Apart from that it's plain routine. At a certain point you get a feeling for which values will look good. Up until then it's just trial and error: Take any value you think will look good, check the result and if need be modify.

MAHENDRA CHARRAN
MAHENDRA CHARRAN
1,605 Points

Is there a trick to remember what values to use and which units to use as well?