[TYPO3-core] RFC #10505: positioning of images in columns is not correct / missing clear:both

Susanne Moog typo3 at susannemoog.de
Sun Feb 22 10:58:31 CET 2009


Hi,


This is an SVN patch request.

Type: Bug / nearly nobrainer

Bugtracker references:
http://bugs.typo3.org/view.php?id=10505

Branches:
TYPO3_4-2 & trunk

Problem:
(bug report:) "I set up a content element "Images" and put in 7
pictures. Image height is set to 180, layout is center and number of
columns is set to 3.
The first row has 3 pictures. Next row has 4 pictures in it. The
penultimate two picture has class "csc-textpic-lasttcol" and the last
one "csc-textpic-firstcol". This seems correct. But there is no
linebreak between the two, although there should be one.

Demo: www.nmedien.de/demosites/shop2.8/index.php?id=27"

The class "csc-textpic-firstcol" does not clear the floated elements,
therefore triggering this bug if the pictures on row two are much
smaller than on row one (so that one more picture can float in row 2
instead of getting placed in row 3).

Solution:
Add a clear:both to the class.

Note:
Tested in FF3, IE6, Opera 9.63

Regards,

Susanne

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10505_missing_clear.patch
Type: text/x-diff
Size: 778 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090222/cdded608/attachment.patch 


More information about the TYPO3-team-core mailing list