Project

General

Profile

Actions

Bug #17330

closed

missing clearer div in csc-textpic-intext-left & csc-textpic-intext-right standard wrap

Added by Martin Herzog about 17 years ago. Updated over 5 years ago.

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

0%

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

Description

When placing two content elements of the type text w/image (with "intext-left" or "intext-right") underneath each other and the text does not reach beneath the lower picture border, then the picture of the second content element is positioned on the side of the upper picture instead of underneath. The content elements are "crammed" into each other.

I noticed that for the content elements text w/image with "nowrap" there is a clearer div "<div class="csc-textpic-clear"></div>" attached, for text w/image without "nowrap" there isn't (although it is needed as well).

So the problem is within the standard setup of css_styled_content (typo3/sysext/css_styled_content/static/setup.txt).

Adding the lines:

tt_content.image.20.layout { # intext-right
17 = TEXT
17.value = <div class="csc-textpic csc-textpic-intext-right###CLASSES###">###IMAGES######TEXT###</div><div class="csc-textpic-clear"></div> # intext-left
18 = TEXT
18.value = <div class="csc-textpic csc-textpic-intext-left###CLASSES###">###IMAGES######TEXT###</div><div class="csc-textpic-clear"></div>
}

to the TypoScript Setup fixes the problem, so probably the clearer div should be added to the corresponding lines in the extension.

(issue imported from #M5678)


Files

screenshot.png (27 KB) screenshot.png Administrator Admin, 2007-06-03 14:34
0005678.patch (1.25 KB) 0005678.patch Administrator Admin, 2007-06-03 14:48
5678_v2.patch (60.4 KB) 5678_v2.patch Administrator Admin, 2010-04-10 19:16
5678_v3.diff (64 KB) 5678_v3.diff Administrator Admin, 2010-04-13 22:10

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #19705: picture in text left css bugClosedChris topher2008-12-16

Actions
Actions

Also available in: Atom PDF