[TYPO3-content-rendering] Upgrading CSS Styled Content - some ideas

Patrick Broens patrick at patrickbroens.nl
Thu Jul 28 17:01:07 CEST 2011


Hi Ricardo,

Sorry about my late response. Currently I'm working on the same issues
for a big German governmental project.

Take a look at my posting in this mailing list with the topic "No more
inline styles in css_styled_content / Do we care about IE7". This
project does not allow any inline styles anymore produced by the TYPO3
core. That includes css_styled_content.

The reason for all these inline styles in image blocks is to prevent
that long captions don't exceed the width of the image.

I've managed to get this done without any width declaration, but tables
are involved for this. The table has a peculiar tag, called <caption>
and does exactly what we want: Preventing long captions to exceed the
width of the image.

One might say: Why not using display: table-caption? IE6 and IE7 don't
support this CSS property. However, the <caption> is recognized. There
is one drawback for these two browsers. You're not able to move the
caption to the bottom, because both browsers don't know the property
caption-side: bottom; My posting is about getting opinions about this
visual drawback. Functionally it's ok, the caption is there.

If you want to comment on my posting in this mailinglist, please do.

Cheers

Patrick


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