Actions
Bug #17407
closedget rid of clear.gif with space
Start date:
2007-06-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
when using spaceBefore / spaceAfter in CE there is no chance to get rid of clear.gif
As this is in tslib_content:
if ($spaceBefore || $spaceAfter) {$content=$this->wrapSpace($content, $spaceBefore.'|'.$spaceAfter);}
it will wrapped with the clear.gif any time.
So there is no alternative way like Joey presents in newsgroup:
tt_content.stdWrap {
### spaceBefore ###
prepend = TEXT
prepend.field = spaceBefore
prepend.wrap = <div style="clear:both;height:|px;margin:0;font-size:0px;">
prepend.if.isTrue.field = spaceBefore
- spaceAfter ###
append = TEXT
append.field = spaceAfter
append.wrap = <div style="clear:both;height:|px;margin:0;font-size:0px;">
append.if.isTrue.field = spaceAfter
- content.space ###
outerWrap.cObject = COA
outerWrap.cObject {
10 = TEXT
10 {
outerWrap =<div|>
value = {$content.space}
split {
token = |
cObjNum = 1
1.current = 1
1.noTrimWrap = | |px 0px|
}
noTrimWrap = | style="margin:|;"|
}
20 = TEXT
20.value = |
}
}
This snippet works, but clear.gif is present also.
(issue imported from #M5835)
Files
Actions