[TYPO3] left and right columns div

Ilaria De Marinis demarinis at caspur.it
Wed Jun 27 17:11:21 CEST 2007


Thanks a lot, I've got a solution but yours is much more linear than mine.

Best regards

Bernd Wilke wrote:
> Ilaria De Marinis schrieb:
>   
>> Hi list,
>> I'm trying to associate to left and right columns div tags for css web 
>> site.
>>
>> In my template setup section I put only these lines:
>> page = PAGE
>> page.typeNum = 0
>> page.10 = CONTENT
>> page.10 {
>>   table=tt_content
>>   select {
>>         pidInList = this
>>         orderBy=sorting
>>         }
>> }
>>
>> I don't use any other static files.
>>
>> I think the right way to reach my goal is:
>> styles.content.getRight{
>>    wrap= <div class="right">|div
>> }
>>     
>
> then you you will have allways this wrap, if you use it. Better to wrap 
> the part where this is to be copied.
>
>
>   
>> Can you help me?
>> Thanks in advance
>> Ilaria
>>
>>     
> how should contents from other columns than normal appear on your website?
>
> try it this way:
>
> page {
> 	# same like yours above
> 	10 < styles.content.get
>
> 	# new:
> 	20 < styles.content.getRight
>
> 	30 < styles.content.getLeft
>
> }
> # and here you can easily wrap what you want:
> page {
> 	10.wrap = <div class="normal">|</div>
> 	20.wrap = <div class="right">|</div>
> 	30.wrap = <div class="left">|</div>
> }
>
> keep care on order for floats!
>
> Bernd
>
>   

-- 
------------------------------------------------
Ilaria De Marinis 
Settore Automazione Biblioteche
Phone: +3906-44486052
CASPUR - Via dei Tizii ,6 - 00185 Roma
e-mail: demarinis at caspur.it
------------------------------------------------



More information about the TYPO3-english mailing list