Hi there, I find this approach ( http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ ) of nesting the opening tag of the <body> into IE-Conditional comments like
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]--> <!--[if IE 7 ]> <body class="ie7"> <![endif]--> <!--[if IE 8 ]> <body class="ie8"> <![endif]--> <!--[if IE 9 ]> <body class="ie9"> <![endif]--> <!--[if gt IE 9]> <body> <![endif]--><!--[if !IE]><!--> <body> <!--<![endif]--> pretty interesting. You can use CSS-selectors like *.ie7 .mydiv* then. But I don't know how I can write this in HAML. /[if !IE] %body creates an opening and closing body tag. -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
