clearing floats in CSS
Position is Everything—"Clearing", 21st Century Style: In the new method, no clearing element is used.
Nice new concept for clearing floats using the :after command. I’d probably want to do it without the IE hack in there, but either way, its a good idea to avoid putting <br clear="all" />
.
Comments
Thank you so much for that link, I was having this problem with my blog and had to resort to clear="all" seen some tutorials with clear:both but didn’t work, the :after bit did it
Posted by: Arvind | May 17, 2004 04:28 AM
good, you are right
Posted by: bingbin | July 17, 2004 09:10 AM