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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An element with
float: leftis forced to have a computeddisplayvalue ofblock.For more information on that, see: jQuery in Chrome returns "block" instead of "inline"
The purpose of also adding
display: inlineis 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):