I am housing 2 images in a table; I am trying to get the table to display an image without having the table background color seep through the top & bottom border areas of the image(s).
This table actually holds the logo I will be using on the page. I am trying to make the page "Tug & Pull" proof so that everything looks good under all Browser sizes. If I can just get the BG color to not show where I don’t need it to, everything will be great.
Bellow is the table in question. I will give you a quick synopsis of what’s going on with it:
I have 1 Row containing 2 Cells. The first cell contains a plain gradient image, the image in the second cell contains a 1 pixel wide solid color of the right most gradient shade in image 1. The Table background gives the viewer the illusion that the image stretches across the whole page, when it’s really just the BG color taking over. Anyway, that effect works great, however, as I stated before, the Table BGColor clashes with Image 1, when it shows between the Image and the 0 width border of the Table.
Any suggestions?
Here is the html:
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FF0000">
<tr>
<td width="50%" valign="top">
<p align="left"><img border="0" src="Images/image1.gif" width="502" height="55">
</td>
<td width="50%" valign="top">
<img src="image2.gif" width="1" height="55" border="0">
</td>
</tr>
</table>
Thanks in Advance!!!
This table actually holds the logo I will be using on the page. I am trying to make the page "Tug & Pull" proof so that everything looks good under all Browser sizes. If I can just get the BG color to not show where I don’t need it to, everything will be great.
Bellow is the table in question. I will give you a quick synopsis of what’s going on with it:
I have 1 Row containing 2 Cells. The first cell contains a plain gradient image, the image in the second cell contains a 1 pixel wide solid color of the right most gradient shade in image 1. The Table background gives the viewer the illusion that the image stretches across the whole page, when it’s really just the BG color taking over. Anyway, that effect works great, however, as I stated before, the Table BGColor clashes with Image 1, when it shows between the Image and the 0 width border of the Table.
Any suggestions?
Here is the html:
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FF0000">
<tr>
<td width="50%" valign="top">
<p align="left"><img border="0" src="Images/image1.gif" width="502" height="55">
</td>
<td width="50%" valign="top">
<img src="image2.gif" width="1" height="55" border="0">
</td>
</tr>
</table>
Thanks in Advance!!!