Bug #15716
closedProblem with automated pagegeneration, with wrong DOCTYPE
0%
Description
Im having problems with using css with borders, looking allright in firefox but not in MSIE.
When generating the page the document type is set to:
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Trasitional/EN">
MSIE cannot use this properly
if instead this is as doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
(in one line)
Then it is working properly.
I have found the problem in these two files
tslib/class.tslib_pagegen.php
typo3/sysext/cms/tslib/class.tslib_pagegen.php
in line 413
after setting the new DOCTYPE in these files it is all working again.
(issue imported from #M2685)
Updated by Wolfgang Klinger over 18 years ago
You can set your own doctype with
config.doctype
in you TypoScript template easily