Zum Inhalt springen

CSS nur für IE einbinden?

Erstellt am 19. Juli 2011 · 2 Antworten · letzte Antwort am 19. Juli 2011

Tags: HTML & CSS, Frage

Rebelhig ·

Hallo,
ich möchte in meinem TS neben meiner normalen CSS im Template noch eine für den IE Patch einbinden in der Form:

<!--[if lte IE 7]>
<link href="css/patch/patch_template2.css" rel="stylesheet" type="text/css" />
<![endif]-->

Wie kann ich das machen?

mfg

Tevsa ·

Hallo,

stichwort conditions. Schau mal in die TSREF es gibt auch eine condition für die Browserabfrage.

Gruß
Tevsa

Shark1982 ·

Probiers damit mal

page.headerData.15 = TEXT
page.headerData.15.value (
<!--[if lte IE 7]>

<link href="css/patch/patch_template2.css" rel="stylesheet" type="text/css" />
<![endif]-->

)