[TYPO3-german] Problem mit Conditional Comments
Yvon Folz
yvon.folz at googlemail.com
Fri Oct 9 14:00:15 CEST 2009
Hier das sollte doch gehen:
<!--[if gte IE 6]>
<style type="text/css">
Styleangaben
</style>
<![endif]-->
Gruß Yvon
Am 9. Oktober 2009 13:32 schrieb Thorsten Windrath <twindrath at netrixx.de>:
> Hallo,
>
> die TYPO3-Condition greift nicht, weil Conditions innerhalb von
> geschweiften Klammern nicht möglich sind.
>
> statt:
>
> page {
> ...
> [condition]
> ...
> [global]
> ...
> }
>
> lieber so:
>
> page {
> ...
> }
>
> [browser = X] && [version = 1]
> page.includeCSS.file888 = ...
> [global]
>
> [browser = X] && [version = 2]
> page.includeCSS.file888 = ...
> [global]
>
>
> Wenn trotzdem dein Conditional CSS (der @import) durchkommt, hat TYPO3 die
> fehlerhafte Condition wohl ignoriert. Wegen des einfacheren Handlings würde
> ich die TYPO3-Conditions den Conditional CSS Comments auch vorziehen.
>
>
> Viele Grüße
>
> Thorsten Windrath
>
> PS: Mein erster Post in der Liste, und dann gleich ein Besserwisser :)
> Sorry.
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>
More information about the TYPO3-german
mailing list