I was just checking out 906.gs css code and noticed that they made all the floated divs inline.
Just wondering what the purpose of that is...I am always interested in learning CSS theories.
I was just checking out 906.gs css code and noticed that they made all the floated divs inline.
Just wondering what the purpose of that is...I am always interested in learning CSS theories.
An element with
float: left
is forced to have a computeddisplay
value ofblock
.For more information on that, see: jQuery in Chrome returns "block" instead of "inline"
The purpose of also adding
display: inline
is to fix an IE6 bug, the "double margin bug":http://www.positioniseverything.net/explorer/doubled-margin.html
It's a free fix with no downsides (even in IE6):