[TYPO3] Body tag attributes

lokisapocalypse typo3-english at lists.netfielders.de
Wed Aug 22 15:35:01 CEST 2007


Hello all. Typo3 is adding extra attributes to my body tag. Specifically, it is adding leftmargin, topmargin, marginwidth, and marginheight. I am using the following TypoScript

# Default PAGE object:
page = PAGE
page.typeNum = 0
page.config.doctype = xhtml_strict
page.config.doctypeSwitch = 0
page.config.index_enable = 1
page.config.index_externals = 1
page.config.metaCharset = utf-8
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main
page.bodyTag = <body onload="myfunc();">

Yet this prints the body tag as <body onload="myfunc();" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">. How can I get it to only print <body onload="myfunc();">?


More information about the TYPO3-english mailing list