Hi,

I'm trying to use the solution described here:

paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/

with the addition of a ruby-determined class.

This is what I'm trying to get:

<!--[if lt IE 7 ]> <body class="ie6 #{some ruby expression}"> <![endif]-->
<!--[if IE 7 ]>    <body class="ie7 #{some ruby expression}"> <![endif]-->
<!--[if IE 8 ]>    <body class="ie8 #{some ruby expression}"> <![endif]-->
<!--[if IE 9 ]>    <body class="ie9 #{some ruby expression}"> <![endif]-->
<!--[if gt IE 9]>  <body class="#{some ruby expression}"> <![endif]-->
<!--[if !IE]><!--> <body class="#{some ruby expression}"> <!--<![endif]-->

  my html

</body>


Is there a way to get haml to do this, or am I forced to write an
helper method that emits the open body tags as a string?

P.S. I'm using Ruby on Rails, but I don't think it matters.

thanks


pietro

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to