Neetu
07-29-2003, 08:54 PM
Hi,
I am trying to display some stuff inside a table. This is enclosed by a box with rounded edges. For this box, I've images which when arranged right give me the box. The problem here is between each of the images there is a gap, thus the border looks broken. I tried setting the background of the table cell to the image, instead of inserting the images itself. But this causes the image to repeat, in each cell.
I have set cellpadding and cellspacing to 0.
Could someone tell me where I am going wrong ?
I've attached the images as a zip file.
Thanks.
This is the code :
<table width="100%" border="0">
<tr>
<td width="50%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>s
<td width="9%" ><img src="Images/leftboxcorner_top.gif" width="10" height="8" align="right"></td>
<td width="81%"><img src="Images/topline_grey.gif" width="100%" height="8"></td>
<td width="10%"><img src="Images/rightboxcorner_top.gif" width="10" height="8"></td>
</tr>
<tr>
<td width="9%" height="18"><img src="Images/leftline_grey.gif" width="10" height="18" align="right"></td>
<td width="81%"> </td>
<td width="10%" height="18"><img src="Images/rightline_grey.gif" width="10" height="18"></td>
</tr>
<tr>
<td width="9%" height="18"><img src="Images/leftline_grey.gif" width="10" height="18" align="right"></td>
<td width="81%"> </td>
<td width="10%" height="18"><img src="Images/rightline_grey.gif" width="10" height="18"></td>
</tr>
<tr>
<td width="9%" height="18"><img src="Images/leftline_grey.gif" width="10" height="18" align="right"></td>
<td width="81%"> </td>
<td width="10%" height="18"><img src="Images/rightline_grey.gif" width="10" height="18"></td>
</tr>
<tr>
<td width="9%"><img src="Images/leftboxcorner_bottom.gif" width="10" height="8" align="right"></td>
<td width="81%"><img src="Images/bottomline_grey.gif" width="100%" height="8"></td>
<td width="10%"><img src="Images/rightboxcorner_bottom.gif" width="10" height="8"></td>
</tr>
</table>
</td>
<td width="50%"> </td>
</tr>
</table>
I am trying to display some stuff inside a table. This is enclosed by a box with rounded edges. For this box, I've images which when arranged right give me the box. The problem here is between each of the images there is a gap, thus the border looks broken. I tried setting the background of the table cell to the image, instead of inserting the images itself. But this causes the image to repeat, in each cell.
I have set cellpadding and cellspacing to 0.
Could someone tell me where I am going wrong ?
I've attached the images as a zip file.
Thanks.
This is the code :
<table width="100%" border="0">
<tr>
<td width="50%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>s
<td width="9%" ><img src="Images/leftboxcorner_top.gif" width="10" height="8" align="right"></td>
<td width="81%"><img src="Images/topline_grey.gif" width="100%" height="8"></td>
<td width="10%"><img src="Images/rightboxcorner_top.gif" width="10" height="8"></td>
</tr>
<tr>
<td width="9%" height="18"><img src="Images/leftline_grey.gif" width="10" height="18" align="right"></td>
<td width="81%"> </td>
<td width="10%" height="18"><img src="Images/rightline_grey.gif" width="10" height="18"></td>
</tr>
<tr>
<td width="9%" height="18"><img src="Images/leftline_grey.gif" width="10" height="18" align="right"></td>
<td width="81%"> </td>
<td width="10%" height="18"><img src="Images/rightline_grey.gif" width="10" height="18"></td>
</tr>
<tr>
<td width="9%" height="18"><img src="Images/leftline_grey.gif" width="10" height="18" align="right"></td>
<td width="81%"> </td>
<td width="10%" height="18"><img src="Images/rightline_grey.gif" width="10" height="18"></td>
</tr>
<tr>
<td width="9%"><img src="Images/leftboxcorner_bottom.gif" width="10" height="8" align="right"></td>
<td width="81%"><img src="Images/bottomline_grey.gif" width="100%" height="8"></td>
<td width="10%"><img src="Images/rightboxcorner_bottom.gif" width="10" height="8"></td>
</tr>
</table>
</td>
<td width="50%"> </td>
</tr>
</table>