What is Logically and semantically correct, A-grade browsers compatible and W3C valid way to clear f
Posted
by metal-gear-solid
on Stack Overflow
See other posts from Stack Overflow
or by metal-gear-solid
Published on 2009-11-19T14:55:07Z
Indexed on
2010/05/22
4:30 UTC
Read the original article
Hit count: 220
What is Logically correct and W3C valid way to clear float?
zoom:1
is not valid by W3C and IE8 don't have hash layout problemoverflow:hidden
andoverflow:hidden
were not made to do this,as the spec intended overflow to be used<div class="clear"/>
is not semantically correct and i don't want to add extra markup.- clearfix hack generates content that really hasn’t any semantic value.
I've asked many questions and read many articles on this issue but haven't find best way.
© Stack Overflow or respective owner