[TYPO3] XML violation CSS Styled Content

Martin Gratzer mgratzer at gmail.com
Thu Apr 27 11:14:09 CEST 2006


Hi typo3 user group,

at the moment I'm redesigning my webpage using typo3 4 with a close look 
on accessibility trough XHTML compatibility. I found out that there is 
an error on the CSS Styled Content Extension when using an Text & Image 
content element. The generated XHTML Code looks like this:

   <div class="...">
     <dl class="...">
       <dt><img .../></dt>
     </dl>
     <dd class="...">Caption...</dd>
   </div>

but it should look like that to be XHTML valid:

   <div class="...">
     <dl class="...">
       <dt><img .../></dt>
       <dd class="...">Caption...</dd>
     </dl>
   </div>

I saw the definition in the Template Analyser at tt_content.image.20 and 
also figured out that three rendering modes are defined (dd, ul and div) 
with dd as default. To get my page XHTML valid i would like to change to 
the div rendering mode - but i don't know how to change this. Can anyone 
help me?

best regards Martin
https://www.openbc.com/hp/Martin_Gratzer/



More information about the TYPO3-english mailing list