Project

General

Profile

Actions

Bug #16049

closed

wrong column-width with noRows-Option

Added by old_heldenschreck over 18 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2006-04-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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 = 180x3 +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)


Files

bug-3258.diff (1012 Bytes) bug-3258.diff Administrator Admin, 2006-05-21 13:16
bug-3258_a.diff (2.03 KB) bug-3258_a.diff Administrator Admin, 2006-05-30 11:50
Actions

Also available in: Atom PDF