[TYPO3] How to include ccs in the header

Marcus Biesioroff vsbies at wp.pl
Thu Sep 25 21:38:23 CEST 2008


ellou' again

you wrote:

> Hi

> To be able to show a creditcard payment form on a website with the same
> look as the rest of the website, I need to include all of the css in the
> webpage itself. Is there any way to do this ?

> In other words I need the opposite of inlineStyle2TempFile

you can do few things:

1. add class definitions to the main CSS style file (easiest)
2. use @import property of CSS to include additional file:
   @import url('creditcardpayment.css');
   at the beginning of your main CSS style
3. use TypoScript:
   page.includeCSS.file123  = fileadmin/css/creditcardpayment.css
   where 'page' is the name of your PAGE element



-- 
greets,
 Marcus 'biesior' Biesioroff




More information about the TYPO3-english mailing list