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

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Jan 15 19:52:34 CET 2008


Hi,

looks good, +1 by reading. No time for testing now, unfortunately, sorry! :(

Cheers,
Ernesto


Benjamin Mack wrote: on 09.01.2008 09:28:
> 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.


More information about the TYPO3-team-core mailing list