IE7 tried to kill my soul - but the internets saved me

written by jeremy on January 11th, 2007 @ 11:17 AM

I owe a life debt to these two: [456bereastreet.com] [tanfa.co.uk]

Margins on floated divs were rattling my shaky css-fu, of which I possessed a confidence surplus due to the 160+hour December xhtml rewrite marathon giving my skillz some verisimilitude.

Wouldn’t you know, the solution was inline-block instead of inline-table and a height:1px; in my ie6-styles hidden behind a conditional comment. It’s like magic.

Another notable
In my source code I'm replacing all of these:
<!-- _COMMENT_ -->

With these:
<!--[if !IE]> _COMMENT_ <![endif]-->

Because IE6 likes to choke on (itsowncock) comments in the code, and this will hide comments from the IE family. Anything I can do to deny IE full disclosure of my intent is a win.

VIA [positioniseverything.net]

Post a comment

Options:

Size

Colors