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 trialSophia Tai
826 PointsHow do I calculate the values for margin and padding?
I am currently learning how to build a basic website.
Watching this video I had to stop and ask.
How does he know what values to put for margin and padding below header? Is there a logical, quick way to calculating this?
Many thanks!
1 Answer
George Cristian Manea
30,787 PointsNo, he tested before he recorded the movie clip. In one of his videos he specifies that.