[TYPO3-templavoila] Templavoila adding tags

Dmitry Dulepov dmitry at typo3.org
Mon Jan 8 17:01:26 CET 2007


Nagita Karunaratne wrote:
> It's strange as it is valid xhtml 1.0 Transitional.
> http://validator.w3.org/check?uri=http%3A%2F%2Fmembers.shaw.ca%2Fntkar%2Ftemplates%2F 
> and still it is not working. I think I may have to put the IE 
> compatibility code in the CSS file.

You have a lot of conditional comments there... Read this:
http://www.w3.org/TR/xhtml1/#C_4, it says: "Note that XML parsers are 
~permitted~ to silently remove the contents of comments. Therefore, the 
historical practice of "hiding" scripts and style sheets within 
"comments" to make the documents backward compatible is likely to not 
work as expected in XML-based user agents.". So typo3 xml/xhtml parser 
may simply remove ~some~ tags from your file and cause structure errors. 
Hacks are always bad...

Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)

More information about the TYPO3-project-templavoila mailing list