[TYPO3-core] RFC: Bug 5678: Missing clearer div in csc-textpic-intext-left/csc-textpic-intext-right

Wolfgang Klinger wolfgang at stufenlos.net
Sun Jun 3 15:40:54 CEST 2007


*hiya!*

Oliver Hader wrote:
> When placing two (or more) content elements of the type "text w/image"
> (with "intext-left" or "intext-right" for the image positioning)
> underneath each other and the text does not reach beneath the lower
> picture border, then the picture of the second content element is
> positioned on the side of the upper picture instead of underneath. The
> content elements are "crammed" into each other.
> 
> Solution:
> Add a clearer div (<div class="csc-textpic-clear">) to the end of this
> content elements to prevent the "wild" floating.
> 
> Comments:
> Thanks to Martin Herzog for providing a fix for this issue. Furthermore
> I created a screenshot and attached it in the bugtracker - so you can
> see, how ugly this looks without the patch... ;-)

+1 for solving the problem,
though I would prefer a solution where this additional <div>
is not necessary like with the well known "clearfix" class
explained here:

http://www.456bereastreet.com/archive/200603/new_clearing_method_needed_for_ie7/

Should be possible to use this here too.


bye
Wolfgang



More information about the TYPO3-team-core mailing list