Please take a look at http://www.signaturecarpets.com/runninglines.php?type=Cut+Pile. This is how I would like for the pictures to be displayed on my web page at http://www.hotelfloors.com/specials2.asp. My images are stored in a separate folder called "images". I would like to keep my images at width=144 and height=144.
I'll show some code below. I am not going to include everything.
1st table on the web page:
<table width="680" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="13" height="13"> </td>
<td width="504"> </td>
<td width="163"> </td>
</tr>
<tr>
<td height="108"></td>
<td valign="top"><img src="NSLogo.gif" width="447" height="108"></td>
<td></td>
</tr>
<tr>
<td height="4"></td>
<td> </td>
<td> </td>
</tr>
</table>
Second table on the web page (this table contains the buttons):
<table width="154" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="8" height="73"></td>
<td width="125"></td>
<td width="19"></td>
<td width="2"></td>
</tr>
<tr>
<td height="38"> </td>
<td valign="top"><a href="AboutUs.htm"><img src="AboutUs.gif" width="83" height="16" border="0"></a></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="38"> </td>
<td valign="top"><a href="Installations.htm"><img src="Installations.gif" width="104" height="16" border="0"></a></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="38"> </td>
<td valign="top"><a href="Specials.asp"><img src="Specials.gif" width="73" height="19" border="0"></a></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="38"> </td>
<td valign="top"><a href="BrowseProducts.asp"><img src="Products.gif" width="77" height="16" border="0"></a></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="38"> </td>
<td valign="top"><a href="ContactUs.htm"><img src="ContactUs.gif" width="97" height="16" border="0"></a></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="38"> </td>
<td valign="top"><a href="index.asp"><img src="Home.gif" width="52" height="16" border="0"></a></td>
<td> </td>
<td> </td>
</tr>
</table>
Third Table (this is where I am having the problem):
<td width="4"></td>
<td bgcolor=white width="10">
<table border="0" cellspacing="0" cellpadding="0" width="85%">
<tr>
<td height="45" valign="top"><div align="center"><font color="#000000" size="5" face="Arial, Helvetica, sans-serif"><strong>Specials</strong></font></div></td>
</tr>
<%
Do While Not rs.EOF
NumRecords = NumRecords + 1
rs.MoveNext
Loop
rs.MoveFirst
Do While NOT rs.EOF %>
<tr>
<%
For i=1 to NUM_COLUMNS
If rs.EOF Then
EndOfRS = 1
Exit For
End If
%><td><a href="ViewSpecial.asp?qryID=<%=rs("SpecialsID")%>"><img src=../images/<%= rs("ImageName") %> width="144" height="144" border="0" alt=<%= rs("SpecialsName")%>></a></td>
<% If rs.EOF Then
EndOfRS = 1
Exit For
End If
rs.MoveNext
Next
If EndOfRS = 0 Then
rs.Move -NUM_COLUMNS
If rs.BOF = True Then
rs.MoveFirst
End If
End If
If EndOfRS = 1 Then
rs.MoveFirst
Temp1 = InStr((NumRecords / NUM_COLUMNS), ".")
Temp2 = Left((NumRecords / NUM_COLUMNS), Temp1-1)
Temp3 = Temp2 * NUM_COLUMNS
rs.Move Temp3
End If
%>
</tr>
<tr>
<%
For i=1 to NUM_COLUMNS
If rs.EOF Then Exit For
%><td><b><%= rs("SpecialsName") %></b><p><p><p></td>
<%rs.MoveNext
If rs.EOF Then Exit For
Next
%>
</tr>
<% Loop %>
</center></table>
I see no need to include the last table which has the links at the bottom of the web page. I don't believe that the code for the last table affects the way my pictures are being displayed.