[TYPO3] left and right columns div
Bernd Wilke
19m0nyq02 at sneakemail.com
Wed Jun 27 16:59:02 CEST 2007
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
--
http://www.pi-phi.de/t3v4/cheatsheet.html
More information about the TYPO3-english
mailing list