[TYPO3] Questions conserning XHTML and Typo3

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sat Nov 11 17:13:24 CET 2006


Pirkka Rannikko schrieb:
> 
> It seems that changing the DOCTYPE to strict dropped the border
> atributes from the markup. Is this true or did I manage to do this
> unintentionally by accident?

Yes, "strict" does that.

> I also noticed that in another Typo3 (4.0) installation the Text with
> Image content element produces incorrect markup:
> 
> <div class="csc-textpic csc-textpic-intext-left">
> <div class="csc-textpic-imagewrap" style="width:180px;">
> <dl class="csc-textpic-image csc-textpic-firstcol csc-textpic-lastcol"
> style="width:180px;">
> <dt>
> <a href="index.php?id=866" target="_self" >
> <img src="typo3temp/pics/fff47cdef8.jpg" width="180" height="139"
> border="0" alt="Samsung SGH-P200 mobile phone" />
> </a>
> </dt>
> </dl>
> <dd class="csc-textpic-caption">
> </dd>
> </div>
> ...
> 
> The dl element should contain the dd element. Is this corrected in
> Typo 4.0.1 or 4.0.2?

I don't think so. But ask on the content rendering list.

Masi



More information about the TYPO3-english mailing list