[TYPO3-core] RFC: Bug #4770: css_styled_content - rowSpace also puts space below last image row

Ingmar Schlecht ingmar at typo3.org
Tue Jan 15 00:15:21 CET 2008


@Ernesto/Helmut, does this patch satisfy your concerns/suggestions?

cheers
Ingmar


Benjamin Mack schrieb:
> Hey all,
> 
> ok. so here is my new version of the patch that takes Helmut's & 
> Ernesto's wishes into account.
> 
> - TS put in [compatVersion = 4.2.0] conditions
> - made it backwards compatible that if this special stdWrap is not set 
> that the regular one is used.
> 
> Enjoy,
> benni.
> -SDG-
> 
> Benjamin Mack wrote:
>> Hey all,
>>
>> this is a SVN patch request.
>>
>> Branches: Trunk only.
>>
>> BT Reference:
>>
>> Problem:
>> As I figured there is this undocumented constant value "rowSpace" I 
>> also noticed that when setting "rowSpace", it only applies "rowSpace" 
>> as margin-bottom to each image row, which means that there will be a 
>> space of X pixels below the last image as well. It rather be defined 
>> as "space between the image rows", not "space below every row", at 
>> least that's what the general idea is.
>>
>> Solution:
>> Maybe we can just add another CSS class for the last row of images, 
>> "csc-image-lastrow" which gets the default rowSpace like the others, 
>> but the user can apply different values if he likes it.


-- 
Ingmar Schlecht
TYPO3 Association Active Member


More information about the TYPO3-team-core mailing list