[TYPO3] Different addresses for every column
Xavier Perseguers
typo3 at perseguers.ch
Wed Jul 30 12:06:21 CEST 2008
Hi,
> I would like to redefine this template using a table. I would like to do
> something like:
>
> <table>
> <!-- ###TEMPLATE_ADDRESS### begin -->
> <tr>
> <td>
> "TT_ADDRESS_1"
> </td>
> <td>
> "TT_ADDRESS_2"
> </td>
> <td>
> "TT_ADDRESS_3"
> </td>
> </tr>
> <!-- ###TEMPLATE_ADDRESS### end -->
> </table>
>
> The idea is to use a tree columns table showing different addresses in
> every column. The problem is I don't know how to use a different address
> for every column.
>
> Any ideas?
You may use CSS instead and create a floating div around a TT_ADDRESS
and specify that the width of this div is 33%. CSS will automatically
put 3 adresses next to each other and start a new line when there is "no
space" left.
HTH
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-english
mailing list