[TYPO3-english] TS Conditions for Internet Explorer

Sergio Catalá scatala.enet at gmail.com
Wed Sep 4 13:28:37 CEST 2013


Hi list,

Which of these two options for my TS would you recommend me, and why?

1)

[version= <8][browser = msie]
     page.includeCSS.ie7Font = 
typo3conf/ext/myextension/Resources/Public/Css/font_ie7.css
     page.includeCSS.ie7Font.media = screen
[end]

2)

page.headerData.10 = TEXT
page.headerData.10 {
                         value = 
typo3conf/ext/myextension/Resources/Public/Css/font_ie7.css
                         insertData = 1
                         wrap(
                                 <!--[if lt IE 8]>
                                         <link href="|" media="screen" 
rel="stylesheet" type="text/css" />
                                 <![endif]-->
                         )
                 }

I only want to evaluate the pros and contras of both options (both work).

Regards,
Sergio



More information about the TYPO3-english mailing list