[TYPO3-content-rendering] CSS-Style IMGTEXT rendering issue

Kai Laborenz typo3 at laborenz.de
Sat Mar 4 18:16:18 CET 2006


Hi Folks, hi Ernesto,

I tested the new beta3 with (as far as I know) CSS Styled IMGTEXT 
integrated into CSS Styled Content and I noticed some rendering issues:

I didnt change any defaults and edited a simple text w image element 
(intext left; colums: 1).

The resulting code looks like this:

  <div class="csc-textpic csc-textpic-intext-left">
     <div class="csc-textpic-imagewrap">
        <dl class="csc-textpic-image">
           <dt><img src="..." /></dt>
        </dl>
     <div class="csc-textpic-caption">
        <p class="csc-caption">...</p>
     </div>
  </div>
  <div class="csc-textpic-text">
    <p class="bodytext">...</p>
  </div>

Using a definition list for images is fine but it is worse than useless, 
if the caption is not into thd <dd> element...

Why is the caption wrapped with two classed elements? One class on the 
outer element is more tha enought. IMHO there is no need for two 
elements at all.

Maybe there is a hidden meaning after all this but I didnt get it ;-)

Greetings, Kai



More information about the TYPO3-project-content-rendering mailing list