[TYPO3] content.space

JoH info at cybercraft.de
Mon Jul 17 21:04:26 CEST 2006


> hm after testing its not working yet for 100%.
> He've set 0|0 to all the columns.

Doesn't look like that.

> Do you know why?
>
> This is my code:
>
> # Column content spacing
> tt_content.stdWrap.space >
> tt_content.stdWrap.spaceBefore >
> tt_content.stdWrap.spaceAfter >
> tt_content.stdWrap.space.useDiv = 1
> tt_content.stdWrap.spaceBefore.cObject = CASE
> tt_content.stdWrap.spaceBefore.cObject {
>      key.field = colPos
>      default = 123 #normal column ist set to 123px
>      1 = 0 #left column is set to 0
>      2 = 0 #right column is set to 0
>      3 = 0 #border column is set to 0
> }
> tt_content.stdWrap.spaceAfter.cObject = CASE
> tt_content.stdWrap.spaceAfter.cObject {
>      key.field = colPos
>      default = 123 #normal column is set to 123px
>      1 = 10 #left column is set to 10px
>      2 = 0 #right column is set to 0
>      3 = 0 #border column is set to 0
> }

Whit these settings you should get:

Normal 123|123
Left 0|10
Right 0|0
Border 0|0

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com





More information about the TYPO3-english mailing list