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


Joss Daniels
Joss Daniels
59,875 Points

Padding 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


<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
Joss Daniels
59,875 Points

But the content div ends after that so the padding on that should still work?

I see an extra </div> in your code...maybe that's it

Sorry I see an extra


in your code

it's not letting me use the code lol an extra < / d i v > i am just going to separate with spaces

Nevermind, I saw incorrectly. Sorry I wasn't of much help