Issue Bug Closed

#16049wrong column-width with noRows-Option

old_heldenschreck 04/13/06, 15:12 updated 10/18/10, 19:52

Description

The colums in a multiple-column imageelement are shifted when the noRows-Option is active and the pictures are centered, because the width of the outer wrapper-div is smaller than the sum of the column-widths.

For example:
an Image-Element width 3 columns, width 180, noRows, centered, 10px margin, 1px-Border.

The outter wrapper-width ist correct: 566 = 180×3 +20 + 6
The colum-wrapper is wrong: 204
204*3 > 566 => last column is shifted below.
The Image-width is correct: 180px

The column-widths are wrong calculated too, when the userdefined image-width is smaller than the max possible column-width. The column-widths are based on the max-possible column-width and not on the maximal width of the calculated images.

This doesnt happen in 3.9beta and occurs in 4.0.

(issue imported from #M3258)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.