Susie Posted February 28, 2009 Report Posted February 28, 2009 What is this called (and what's the solution)....when you have a bottom div (let's say a footer) and it comes after two floated divs, and it's stuck to the bottom of those floated divs. You can apply padding and margins to the footer and no matter what, it won't move down..... Help! Quote
PicnicTutorials Posted February 28, 2009 Report Posted February 28, 2009 You have to clear the floats. Put this below the floats and above the div needing to be moved. Quote
Susie Posted February 28, 2009 Author Report Posted February 28, 2009 Duh @ me. I just figured that out and came back to post it. LOL Thanks, Eric. Quote
PicnicTutorials Posted February 28, 2009 Report Posted February 28, 2009 Your welcome. You may run into some un wanted height with that simple code though. If so, use this instead... .clear { clear:both; line-height:0; height:0; font-size:0; /* kills IE6 bug */ } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.