[TYPO3-templavoila] html comments and TV

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Jan 23 13:59:17 CET 2008


Vladimir Podkovanov wrote:
> Thank you for answer, I've acheived result with transparent PNG but
> the solution takes every browser to download javascript code and parse
> it when the code is needed only for IE5.5-6.0 so it is dirty way. And
> there is another solution with hacks in CSS and it is dirty way too.
> Conditional comment looks like smallest evil.

You need to care only for MSIE6. MSIE6 has "filter" CSS attribute and AlphaImageLoader for using with PNGs.

> And anyway what if I need just to preserve html comments in the
> template, I can imagine such case then I need include copyright note
> or something like that, just for those guys who will be studing html
> code.

You can your own text above TYPO3 copyright. See "config" section in TSRef for more information.

Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"

More information about the TYPO3-project-templavoila mailing list