Bug #17453
closedcsc-textpic-imagewrap totalwidth not calculated correctly?
0%
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)