Page 1 of 1

Looping a table

Posted: Mon Jun 26, 2006 3:20 pm
by therat
I am trying to adapt the code in this post, found via the useful posts sticky, to the layout I need. I need to repeat the following table accross the page, the original code creats one table and repeats the cells. Could someone point me in the right direction, thanks

Code: Select all

<table width="25%" border="0" cellspacing="1" cellpadding="3" class="tablebg">
    <tr>
        <th>TITLE</th>
    </tr>
	<tr class="row2">
	    <td>by USER on 01.01.01</td>
    </tr>
	<tr class="row1">
	    <td align="center">IMAGE</td>
    </tr>
</table>

Posted: Mon Jun 26, 2006 6:29 pm
by RobertGonzalez
Are you saying you want multiple tables drawn down the screen, or one table with the rows drawn down the screen? Or do you want something entirely different?

Posted: Tue Jun 27, 2006 12:23 pm
by therat
What I needed was that one table looped accross the page 4 times. I have managed to get what I need now, thanks for answering anyway