Posted: Mon Apr 25, 2005 5:30 am Problem with length and image use
Hey,
I have a nested table which sets out the header images of the page.
However, after each image (when I view the page in the browser) about 5 pixels of extra space are added after the images even through I have made sure that the TD's where the pictures go are equal in length to the images???
The image used for the 2nd TD's background is also the same length as the others so that it only appears once in length but repeats horizontally.
I really don't know what to do anymore, I think that I have tried everything????? Does anyone know how to fix this????
(PS. I also have this problem for each TD which contains an image and I have made sure that none of the other images in any of the other TD's in the Row are longer in length to cause this)
Thanks in advance for any help,
Code:
<!-- This is the main table which includes all the elements of the website -->
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- This table is used to set out the header and logo -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="215" align="left">
<img src="Images/Logo.gif" width=215 height=97>
<td align="right" background="Images/Border_Outside_Top.gif">
<td width="45" align="right">
<img src="Images/Border_Outside_RTopCorner.gif" width=45 height=97>
</table>
Joined: 21 Sep 2004 Posts: 81 Location: Hyderabad, India
Posted: Wed Apr 27, 2005 10:53 pm
One more quick observation is the td tags containing the images are closed and also there is no closing tr tag
Try this and see
Code:
<!-- This table is used to set out the header and logo -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="215" align="left"><img src="Images/Logo.gif" width=215 height=97></td>
<td align="right" background="Images/Border_Outside_Top.gif"> </td>
<td width="45" align="right"><img src="Images/Border_Outside_RTopCorner.gif" width=45 height=97></td>
</tr>
</table>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum