[TYPO3] Trouble with 4.1, xhtml and validator.w3.org

JoH asenau info at cybercraft.de
Wed Apr 18 18:06:58 CEST 2007

> My typo3-Website (4.1) is set to xhtml 1.0 transitional. But the
> heading of the contents gets wrapped wrongly. validator.w3.org tells
> me the following:
> ...eader-n1"><h1 class="csc-firstHeader">Informatik-Service
> Management</h1></sp...
> --> it's wrapping the <h1>-tag into a span. There aren't many tags the
> validator likes to seen in a span - even more in xhtml.
> One thing which would probably do the trick is to change the span
> into a div. Since it's a heading the linebreak afterwards isn't a
> problem. I just don't know where I could do that...
> I am using css_styled_content Version 0.3.1. Should I look in those
> templates or will typoscript do it?

Well - usually the wrap around headers already _is_ a <div> and it is set

lib.stdheader.stdWrap.dataWrap = <div class="csc-header

If this is not the case with your TYPO3 install somebody (you?) must have
changed it in one of the TS templates.



Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com

More information about the TYPO3-english mailing list