Hi there... I have an ASP page which gathers results from MC Access and displays the record listings on a loop which goes down the page. I would like to be able to go horizontal for a certain number of records and then continue down the page i.e. <5 across X whatever down> so that the page is entirely filled. Not just the left hand side)...
I'm using...
<%
do until rs.EOF
new_date=rs("posted"
%>
<table border="0" cellpadding="0" cellspacing="0" width="85">
<tr>
<td>
<font color="#800000" size="2" face="Tahoma"><a href="MOVIE_VIEW.asp?view=<%=rs("id"%>"><img src="../NetMovie/thumbnail/thmb_<%=rs("movielocation"%>.jpg" width="82" bgcolor="#C9D5F5" 24" height="80" alt="<%=rs("id"%> - <%=rs("author"%> - <%=rs("cadastre"%><%=chr(13)%>(<%=rs("details"%>)" align="center" style="border: 3 solid #FFFFFF"></a>
</font><font color="#800000" size="2" face="Tahoma"></font><font face="Verdana"><a href="IMAGE.asp?view=<%=Server.HTMLEncode(rs.Fields("id".Value)%>"></td>
</tr>
<tr>
<td>
<p align="center"><font size="1" face="Arial"><a href="../NetMovie/<%=rs("movielocation"%>.mpg">view the movie</a></font></td>
</tr>
</table>
<%
rs.movenext
loop
rs.close
Set RS = Nothing
Con.Close
Set Con = Nothing
%>
I can't seem to think where the code goes in order to make it span horizontally and vertically or whether there's additional code that is required.
Thanks in advance,
Marcus
I'm using...
<%
do until rs.EOF
new_date=rs("posted"
%>
<table border="0" cellpadding="0" cellspacing="0" width="85">
<tr>
<td>
<font color="#800000" size="2" face="Tahoma"><a href="MOVIE_VIEW.asp?view=<%=rs("id"%>"><img src="../NetMovie/thumbnail/thmb_<%=rs("movielocation"%>.jpg" width="82" bgcolor="#C9D5F5" 24" height="80" alt="<%=rs("id"%> - <%=rs("author"%> - <%=rs("cadastre"%><%=chr(13)%>(<%=rs("details"%>)" align="center" style="border: 3 solid #FFFFFF"></a>
</font><font color="#800000" size="2" face="Tahoma"></font><font face="Verdana"><a href="IMAGE.asp?view=<%=Server.HTMLEncode(rs.Fields("id".Value)%>"></td>
</tr>
<tr>
<td>
<p align="center"><font size="1" face="Arial"><a href="../NetMovie/<%=rs("movielocation"%>.mpg">view the movie</a></font></td>
</tr>
</table>
<%
rs.movenext
loop
rs.close
Set RS = Nothing
Con.Close
Set Con = Nothing
%>
I can't seem to think where the code goes in order to make it span horizontally and vertically or whether there's additional code that is required.
Thanks in advance,
Marcus