Project

General

Profile

Actions

Bug #15716

closed

Problem with automated pagegeneration, with wrong DOCTYPE

Added by S¸ren Dybro about 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-02-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.1
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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&quot;>
(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)

Actions #2

Updated by Wolfgang Klinger about 18 years ago

You can set your own doctype with

config.doctype

in you TypoScript template easily

Actions

Also available in: Atom PDF