[TYPO3-english] style messed up in IE 9
Philipp Gampe
philipp.gampe at typo3.org
Sat Jul 7 11:22:00 CEST 2012
Hi tom,
tom wrote:
> Hi Philipp,
>
> I think you are right.
> I changed it in my html template to
> <!DOCTYPE html>
> <html>
> <head>...
> But in the result page, it still shows like:
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <html lang="en">
> <head>
Of course! Reading the manual actually helps ;)
TYPO3 writes its own HTML head section and an own doctype too.
So you have to set config.doctype = html5 in your TypoScript template.
Best regards
--
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!
More information about the TYPO3-english
mailing list