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 trialAnthony vigliotti
430 Points"Clear" not doing anything to my footer?
Just figured it out: EDITING FOR PEOPLE IN THE FUTURE: Make sure your "footer" selector/rule is AFTER the "header" selector that contains the images (Which you added the float:left deceleration to). I had my "footer" rule BEFORE the "header" which was screwing things up. (I was trying to 'clear' the "footer" of the float which never had a float applied to it because the header selector (which DID have the float applied to it) was AFTER my footer rule.)
Hopefully that make sense
footer {
font-size: 0.75em;
/*This will align the text of the footer to the center*/
text-align: center;
/* This will clear the footer section of floating around the
gallery pictures. In other words we are going to clear the footer section on boths sides from being influenced by the "float" element of the pictures
--The clear property is used to control the behavior of floating elements.
This property will clear the footer on "both sides" */
clear:both;
padding-top: 50px;
color: #ccc;
}
However my footer doesnt move
While I'm asking, how do I insert pictures into questions?