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

clear: both; not working??

I'm doing Track Front-end Web Development on Stage 6, Styling Web Pages and Navigation.

When he asked me to drop the footer bellow the Portfolio using the css, clear: both; nothing seems to happen.

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

2 Answers

Fixed, was a syntax error...footer was foot in my .html file..

Try placing *clear: both; * at the top above font-size.....let me know if this works :)