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

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

Jack Carter
PLUS
Jack Carter
Courses Plus Student 1,865 Points

Style the image captions

I'm having trouble applying the clear to the footer, I can't see a problem with my code, but the footer images are still floating around.

''' footer { font-size: 0.75em; text-align: center; clear: both; padding-top: 50px; color: #ccc; } '''

Any help would be much appreciated! I've been trying to avoid starting discussions in favour of finding my faults myself, but had to admit defeat with this one :(

3 Answers

Your code looks fine. Just a thought: did you save it and then refresh your browser?

Jack Carter
PLUS
Jack Carter
Courses Plus Student 1,865 Points

Yeah I did, I refreshed the browser a couple of times and the problem persisted, went for a smoke break and came back hit refresh again and hey presto! It works now! I guess it was just lag or something? Thanks for replying though Diane!

Computer gremlins :)