[TYPO3-RTE] DTD of the RTE's document
Martin Kutschker
masi-no at spam-typo3.org
Thu Sep 18 17:14:12 CEST 2008
Stanislas Rolland schrieb:
> Martin Kutschker a écrit :
>>>>> Has the document any DTD? I'm asking because certain feature of the
>>>>> IE7
>>>>> only work with a DTD.
>>>>>
>>>>> In particular the conditional attributes of CSS.
>>>>>
>>>>> *[lang|=en] { color: red }
>>>>>
>>>>> This works only after if I add a DTD to the file. eg
>>>>>
>>>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>>>>> "http://www.w3.org/TR/html4/loose.dtd">
>>>>>
> What should happen then if the RTE is used in the frontend and the
> frontend uses a different DTD?
Nothing, unless a different browser mode (quirks or standard) is
triggered. There are lists available which DTDs trigger which mode.
Masi
More information about the TYPO3-project-rte
mailing list