Zum Inhalt springen

Browserweiche IE

Erstellt am 9. August 2009 · 3 Antworten · letzte Antwort am 10. August 2009

Tags: Frage

Manni.​.​ ·

Hallo,
ich möchte in meine Typo3 Seite eine Browserweiche einbauen, weil die Seite im IE nicht korrekt angezeigt wird, aber im Firefox...
#914734
und
#913626
hab ich probiert...
dann hab ich noch das

page.includeCSS.file1 = fileadmin/templates/default.css
[browser = msie]
page.includeCSS.file2 = fileadmin/templates/default_ie.css

probiert...da wird mir auch im firefox das css vom IE angezeigt...
das funktioniert iwie alles nicht...kann mir jemand helfen??
Danke..

Julian.​Hofmann ·

Hallo Manni.

Dein Typoscript hat (zumindest hier im Forum) kein Ende für die Condition. Daher wundert es mich nicht, dass das Verhalten dann komisch ist.

page.includeCSS.file1 = fileadmin/templates/default.css
[browser = msie]
page.includeCSS.file2 = fileadmin/templates/default_ie.css
[global]

Viele Grüße
Julian

ristic ·

Hi Manni,

du kannst natürlich auch noch die Versionen abfragen, falls du das noch benötigst.

[browser = msie6]
page.includeCSS.file1 = fileadmin/templates/default_ie6.css
[global]

[browser = msie7]
page.includeCSS.file1 = fileadmin/templates/default_ie7.css
[global]

Gruß

Daniel