[TYPO3] CSS does not work properly in typo3

Joerg Wagner - DigiLog multimedia usenet at digilog.de
Sun Apr 30 12:52:44 CEST 2006


TS-Setup:
page.config.doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
--
Jorg Wagner
DigiLog multimedia


"Gideon So" <gideonso at livingwater.org.hk> schrieb im Newsbeitrag 
news:mailman.1.1146393576.22270.typo3-english at lists.netfielders.de...
> Hi Pieter,
>
> I see. The line I have in the html file is :
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
>
> And that typo3 generate is:
>
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
> Does this matter?? If so. How can I solve this?? Where to add the line??
>
> Gideon
>
> Pieter wrote:
>> Gideon So wrote:
>>> Hi,
>>>
>>>    I have some problem with CSS. I have make a template with CSS and it
>>> displaed good both in firefox and IE as a html file itself. After I make
>>> it a template with templavoila, seems that the CSS doesn't works
>>> properly in IE. Any hints on this one??
>>>
>>> Gideon
>> Take a look at the doctype generated by Typo3, it might differ from the
>> doctype in you're template.  I had to add a line to get:
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>>
>>
>> Pieter 





More information about the TYPO3-english mailing list