[Zope] Design/DTML question

Max Møller Rasmussen maxm@normik.dk
Wed, 10 Jan 2001 16:44:49 +0100


From: Timothy Wilson [mailto:wilson@visi.com]

>Right now, I've got the dates stored in a TinyTable. I can iterate through
>that list and generate the links, but I can't figure out how to display the
>table in two columns.

<table width=100% border=0 cellpadding=4>
<tr align=left valign=top>
<dtml-in meetingDateTable>

    <dtml-if sequence-even><tr align=left valign=top></dtml-if>
    
        <td width=50%>
            <dtml-var meeting_date>
        </td>
    
        <dtml-if sequence-end><dtml-if sequence-even>
            <td width=50%> <!-- an empty cell --></td>
            </tr>
        </dtml-if></dtml-if>
    
    <dtml-if sequence-odd></tr></dtml-if>
    
</dtml-in>    
</table>

regards Max M