Issue Bug Closed

#16397Text with Picture Left, creates wrong margin

Andreas Dolleschal 07/24/06, 09:57 updated 10/18/10, 19:52

Description

Let’s say you add a Text /w Pic (left formatted) (with of pic is 100px) and the text is higher than the picture, Firefox will show the text left indended. This is beacuse the with for the left-margin of the text will be calculated without “configured textmargin”.

QuickFix:

Change Line 648 of class.tx_cssstyledcontent_pi1.php from:

$GLOBALS[‘TSFE’]->register[‘rowwidth’] = $imageBlockWidth;

to

$GLOBALS[‘TSFE’]->register[‘rowwidth’] = $imageBlockWidth + $conf[‘textMargin’];

(issue imported from #M3912)

Reviews 0

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