[TYPO3-templavoila] Can I keep <!--[if lte IE 6]> as header part?

Martin Bless m.bless at gmx.de
Tue Apr 21 19:26:47 CEST 2009


The header part of my template conditionally links to an IE-fix
stylesheet:

-------------------
<link rel="stylesheet" href="styles/base.css" type="text/css"
media="screen"  charset="utf-8" />

<!--[if lte IE 6]>
<link rel="stylesheet" href="styles/fix-ie.css" type="text/css"
media="screen" charset="utf-8" />
<![endif]-->

<link rel="stylesheet" href="styles/print.css" type="text/css"
media="print" charset="utf-8" />
-------------------

Q: Is there a way to keep the conditional clause?

A workaround might be to put the condition into an extra CSS file. But
the question is a general one, I think.

Have a nice day

Martin

        


More information about the TYPO3-project-templavoila mailing list