Project

General

Profile

Actions

Bug #17453

closed

csc-textpic-imagewrap totalwidth not calculated correctly?

Added by Antithesis Group over 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2007-07-09
Due date:
% Done:

0%

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

Description

There are 16 images on a content element (text w/image), 3 columns, "no rows" checked.

I'm getting the following html produced:
<div class="csc-textpic-imagewrap" style="width: 470px;">
<div class="csc-textpic-imagecolumn" style="width: 175px;">...</div>
<div class="csc-textpic-imagecolumn" style="width: 185px;">...</div>
<div class="csc-textpic-imagecolumn" style="width: 185px;">...</div>

But 175+185+185 = 545 (!= 470)

On some other page with same type C.E. but other images (same site, same parent id), I'm correctly getting:

<div class="csc-textpic-imagewrap" style="width: 545px;">
<div class="csc-textpic-imagecolumn" style="width: 175px;">...</div>
<div class="csc-textpic-imagecolumn" style="width: 185px;">...</div>
<div class="csc-textpic-imagecolumn" style="width: 185px;">...</div>

this time the sum (175+185+185) is correct.

I've set:
styles.content.imgtext.maxW to 550 and
styles.content.imgtext.linkWrap.width to 550.

This is TYPO3 4.0.4 with css_styled_content 0.3.1.

The 2 pages with the same type c.e (one with correct sum one with problematic) use the same template.

(issue imported from #M5933)

Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.0

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF