stylesheet name in a if lte IE 6 condition

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Mich-adg
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 02, 2008 9:08 pm

stylesheet name in a if lte IE 6 condition

Post by Mich-adg »

Hi,

i'm trying to do this but it doesn't work, in IE6 the line stylesheet appears like a simple text:

Code: Select all

<!--[if lte IE 6]>

<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>

{stylesheet name="ie6" media="screen"}

<![endif]-->
Any idea of the good syntax to write ?
Mich-adg
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 02, 2008 9:08 pm

Re: stylesheet name in a if lte IE 6 condition

Post by Mich-adg »

Oups i found a solution, i forgot to say that the code was in a {literal} block, so i added a {/literal}{stylesheet...}{literal} and i works...

Sorry but it can help someone else :)
Post Reply

Return to “Layout and Design (CSS & HTML)”