[TYPO3] more than one Stylesheet TS

Marianne Topping marianne at topit.dk
Fri Apr 4 13:53:43 CEST 2008


This works for me :)

# Stylesheets
page.includeCSS {
 file1 = fileadmin/templates/main/css/pv_style_div.css
 file1.media = screen
 file2 = fileadmin/templates/main/css/pv_style_fonts.css
 file2.media = screen
 file3 = fileadmin/templates/main/css/pv_style_nav.css
 file3.media = screen
}

"Lisa" <lisa at wcm4u.de> skrev i en meddelelse 
news:mailman.1.1207308935.25776.typo3-english at lists.netfielders.de...
> Hallo,
> how can i use more than one Stylesheet?
> This don't work:
> page.includeCSS{
>         file1 = fileadmin/templates/main/css/pv_style_div.css
>         file1 {
>         title = MainStyle
>         media = screen,projection
>         }
>         file2 = fileadmin/templates/main/css/pv_style_fonts.css
>         file2 {
>         title = FontStyle
>         media = screen,projection
>         }
>         file3 = fileadmin/templates/main/css/pv_style_nav.css
>         file3 {
>         title = NavStyle
>         media = screen,projection
>         }
> }
> only the first Style ist taken.
> Please help
>
> Lisa
> -- 
> Lisa Schmidt
> SUSE Linux Enterprise Server 10 (x86_64), MySQL 5.0.26, PHP5, Typo3 4.1.3
> Extensions: TemplaVoila 




More information about the TYPO3-english mailing list