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

HTML How to Make a Website Styling Web Pages and Navigation Style the Image Captions

when i say to footer element to clear: both; nothing happening what shoud i do?

footer { clear: both; }

Taylor Espejo
Taylor Espejo
3,939 Points

hard to diagnose without the rest of your code

Christopher Chard
Christopher Chard
3,087 Points

do your ids (wrapper, gallery, logo) have #before them in your css file? (e.g. #wrapper { } ) ?

2 Answers

I accidentally had my social icons outside the footer tag. So it looked like the clear wasn't working, but it was.

So I had similar issue. I'm actually building this outside the workspace in a Chrome Browser. Seems like the issue is that that an older copy of the CSS still persist and the new changes are not overriding the footer element properties. I had to open the Inspector, go to settings and check the "Disable cache(while DevTools is open)