Actually, I don't think he needs any html help... that is perfectly valid H::T code. Here is an example of what his problem is:

He has a loop with the following eventTitle information:
eventTitle1
eventTitle2
eventTitle3
eventTitle4
eventTitle5
eventTitle6
eventTitle7
eventTitle8
eventTitle9

He wants the information to display in an HTML table like this:
eventTitle1 eventTitle2 eventTitle3 eventTitle4
eventTitle5 eventTitle6 eventTitle7 eventTitle8
eventTitle9

I would answer this myself, but I dont know an answer to it ;)

-jv

Douglas Kirkland wrote:

On Thursday 16 January 2003 10:45 am, Kapoor, Nishikant X wrote:

Yes, displaying variables is indeed a function of HTML but I was hoping to
get some suggestions about displaying the data in four columns. The html code that I use for displaying data in two columns is:

<tmpl_loop name=eventLoop>
<td width="50%">
<tmpl_var name=eventTitle>
</td>
<tmpl_unless __odd__>
</tr>
<tr>
</tmpl_unless>
</tmpl_loop> <!-- eventLoop -->

Has anyone used similar construct for displaying data in four (or n for
that matter) columns ?

Sound like you need some HTML help. You should get a good book on the subject for further help.

<table cellpadding="2" cellspacing="2" border="1" width="100%">
<tbody>
<tr>
<td valign="top"><tmpl_var name=eventTitle><br>
</td>
<td valign="top"><tmpl_var name=stuff_1><br>
</td>
<td valign="top"><tmpl_var name=stuff_2><br>
</td>
<td valign="top"><tmpl_var name=stuff_3><br>
</td>
</tr>
</tbody>
</table>





-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to