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 trialbhavitvya malik
Courses Plus Student 700 PointsProblem with the concept of padding
I just couldn't understand what's padding. I just know its basic meaning. How would i come to know that 5% padding is to be applied. Please help me with this one. Thank you!
2 Answers
jag
18,266 PointsHere is a box model to illustrate what padding is: http://www.w3schools.com/css/css_boxmodel.asp
Using a browsers inspector tool you can see what styles are being applied.
Does that help?
Ada N
Courses Plus Student 4,246 PointsIt also helps to set padding values for top, right, bottom, left then remove these one by one to see the effect on your webpage:)
bhavitvya malik
Courses Plus Student 700 Pointsbhavitvya malik
Courses Plus Student 700 Pointsthank you :) I think the only way to enter their correct values is by using hit and trial method only, no other way.