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!
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
Joss Daniels
59,875 PointsPadding not working on some pages
I have a site where I'm using a div called content which has 8% padding-bottom applied (to give a little space between the content and footer). It works fine on this page but not on
I'm using Perch to pull in the calendar, but I can'#t see why that would affect the padding on the content div that surrounds all the content.
Any ideas?
4 Answers

Unsubscribed User
8,167 PointsYour
<p class="calnext"></p>
on http://dreeam.co.uk/events/index.php only has 1% padding.
I don't know if that's what it is but if you increase the padding-bottom to that it should help...

Joss Daniels
59,875 PointsBut the content div ends after that so the padding on that should still work?

Unsubscribed User
8,167 PointsI see an extra </div> in your code...maybe that's it

Unsubscribed User
8,167 PointsSorry I see an extra
</div>
in your code

Unsubscribed User
8,167 Pointsit's not letting me use the code lol an extra < / d i v > i am just going to separate with spaces

Unsubscribed User
8,167 PointsNevermind, I saw incorrectly. Sorry I wasn't of much help

Joss Daniels
59,875 PointsThanks for trying :)