Thread: Looping
View Single Post
  #4  
Old 07-10-2005, 07:02 PM
 
whsu716 whsu716 is offline
 

Senior Member
  
Join Date: Jun 2005
Posts: 168
 

Default

Maybe this one is easier to answer...

Quote:
<table border="0" cellpadding="0" cellspacing="0" width="760px" style="margin-top: 1px; border-bottom: 1px solid #cccccc; padding-bottom: 7px;">
<tr>
<td style="margin-left: 2px;" align="right">
{section name=sb loop=$speed_bar }
{if $speed_bar[sb].active eq "Y"}
{include file="customer/tabTest.tpl" tab_title="<A href=\"`$speed_bar[sb].link`\">`$speed_bar[sb].title`</A>"}
{/if}
{/section}
</td>
</tr>
</table>

As of now, it prints every speed bar onto one line...like this:

line1 line2 line3 line4 line5 line6 line7 line8


But I would like this:

line1 line2 line3 line4
line5 line6 line7 line8
__________________
...
v 4.0.18; 4.1
Reply With Quote