Project

General

Profile

Actions

Bug #16397

closed

Text with Picture Left, creates wrong margin

Added by Andreas Dolleschal over 18 years ago. Updated about 14 years ago.

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

0%

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

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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #15989: Alignment of text in Text w/ images and "nowrap" is wrong (FF)ClosedErnesto Baschny2006-04-05

Actions
Actions #1

Updated by Ernesto Baschny over 18 years ago

This is already resolved in SVN and is/will be included in release 4.0.1.

Please create new report if there are any further issues still open in 4.0.1-rc1 (or later).

Actions

Also available in: Atom PDF