[TYPO3-content-rendering] CSS-styled-IMGTEXT and csi-clear

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Feb 2 09:34:36 CET 2006


Ernesto Baschny [cron IT] schrieb:
> Hi,
> 
> I would like to get rid of the csi-clear DIV in current rendering of
> CSS-styled-imgtext (see beta2).
> 
> A potential solution is presented here:
> 
>   http://www.positioniseverything.net/easyclearing.html
> 
> german translation here: http://www.jassesnee.de/easyclear/
> 
> Basically, it uses the :after pseudo-attribute for the text-part that we
> need to get expanded to the CE-box for CSS2-compliant browsers, the
> "Holly hack" setting a 1% height for IE and also a IE-Mac hack
> ("display: inline-table").

I like solutions that rely on specs more than someting that relies on hacks.

A clear div is not stylish but I have a mistrust against all those CSS 
hacks.

Masi



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