[Typo3] link external css style sheet
Christopher
bedlamhotel at gmail.com
Wed Jul 27 19:16:39 CEST 2005
> >> Add this to your TS-template, above or below the part that starts with
> >> # Main TEMPLATE cObject for the BODY
> >>
> >> # Main TEMPLATE cObject for the HEAD
> >> temp.head = TEMPLATE
> >> temp.head {
> >> # Feeding the content from the Auto-parser to the TEMPLATE cObject:
> >> template =< plugin.tx_automaketemplate_pi1
> >> # Select only the content between the <head>-tags
> >> workOnSubpart = DOCUMENT_HEADER
> >> }
> >>
> >> Daniel
> >
> >
> > Oeps,
> >
> > And add this at the "PAGE" part:
> > page.headerData.10 < temp.head
> >
> > Daniel
> or directly for example
>
> page.headerData.21.value = <link
> href="/fileadmin/template/main/css/colorTheme.css" rel="stylesheet"
> media="screen,projection,handheld" type="text/css" />
>
Or even better:
page.stylesheet = path/to/stylesheet.css
...or:
page.includeCSS {
file1 = fileadmin/mystylesheet1.css
file2 = stylesheet_uploaded_to_template*.css
file2.title = High contrast
file2.media = print
}
...or:
page.CSS_inlineStyle = property:value;
-Christopher
http://typo3.org/documentation/document-library/doc_core_tsref/quot_PAGE_quot/
More information about the TYPO3-english
mailing list