Jump to content

html if in xsl


azazel79it

Recommended Posts

hi everyone! i have this problem: must put this stuff into xsl (it comes from an html page) <!--[if lte IE 6]> <style type="text/css"> /*<![CDATA[*/ html {overflow-x:auto; overflow-y:hidden;} /*]]>*/ </style> <![endif]--> <!--[if lte IE 6]> <style> /*<![CDATA[*/ #container, #container2 { position:absolute; } /*]]>*/ </style> <![endif]-->but of course the <!-- before the IF means a starting comment in xsl! does anyone knows how to do it? or maybe how i can manage this in css? thx!

Link to comment
Share on other sites

Simply use the <xsl:comment> in the place of the start and end of the XHTML comments.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...