[TYPO3] more than one Stylesheet TS - it works

Lisa lisa at wcm4u.de
Fri Apr 4 14:22:17 CEST 2008


Marianne Topping schrieb:
> 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 
> 
> 

Yes, your way works.
When make this:
file3.title = xyz
it don't work...

however now it is good

Thanks,
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