[Typo3] Defining the Body tag properties
Christopher
bedlamhotel at gmail.com
Wed Aug 3 18:21:52 CEST 2005
Hi,
On 03/08/05, luc_boudreau at uqss.uquebec.ca <luc_boudreau at uqss.uquebec.ca> wrote:
> Hi everyone,
>
> I'm 1 error away from beeing completely W3C XHTML Strict compliant, and it concerns the Body tag. For some reason, T3 adds the bgcolor property to my page.
>
> I've verified my template file, all the constants in my T3 template record, I'm not including cSet or any static template.
>
> I just can't find it !
>
> I've also tried this in my template setup :
>
> page.bodyTag = <BODY>
This was the correct way (as shown at [1]) - although, your tags
should technically be lowercase (i.e. '<body>' for correct xhtml [2]).
If the above declaration doesn't work, you should check that there is
no other extension and no other TS template that's overwriting the
'page.bodyTag' declaration.
-Christopher
[1] http://typo3.org/documentation/document-library/doc_core_tsref/quot_PAGE_quot/
[2] http://www.w3.org/TR/xhtml1/#h-4.2
More information about the TYPO3-english
mailing list