Forum Moderators: open
Anyway to correct this?
Thanks
Dan T
...
<TABLE ALIGN="CENTER" WIDTH=750 HEIGHT=550 CELLSPACING="0" CELLPADDING="0" BORDER="1" BACKGROUND="bluegila.gif">
<TR>
<TD VALIGN="TOP">
<TABLE ALIGN="LEFT" CELLSPACING="0" CELLPADDING="0" BORDER="0">
<TR><TD><IMG SRC="logo.gif" HEIGHT="160" WIDTH="150"></TD><TD><IMG SRC="plainname.gif" HEIGHT="170" WIDTH="450"></TD></TR>
</TABLE>
</TD>
</TR>
</TABLE>
...
When the parent table has the border=0 then all is well. When the border=1 then it offeset this. This is very noticeable as the images line up with the background image.
There is no other code on the page as I have just begun its design.
Thanks
Dan T
<TABLE ALIGN="CENTER" WIDTH=750 HEIGHT=550 CELLSPACING="0" CELLPADDING="0" BORDER="1" BACKGROUND="bluegila.gif">
<TR>
<TD VALIGN="TOP" colspan="2">
<TABLE ALIGN="LEFT" CELLSPACING="0" CELLPADDING="0" BORDER="0">
<TR><TD><IMG SRC="logo.gif" HEIGHT="160" WIDTH="150"></TD><TD><IMG SRC="plainname.gif" HEIGHT="170" WIDTH="450"></TD></TR>
</TABLE>
</TD>
</TR>
</TABLE>
...
Try:
<TABLE ALIGN="CENTER" WIDTH=750 HEIGHT=550 CELLSPACING="0" CELLPADDING="0" BORDER="1" BACKGROUND="bluegila.gif">
<TR>
<TD VALIGN="TOP">
<TABLE ALIGN="CENTER" CELLSPACING="0" CELLPADDING="0">
<TR><TD>
<TABLE ALIGN="LEFT" CELLSPACING="0" CELLPADDING="0" BORDER="0">
<TR><TD><IMG SRC="logo.gif" HEIGHT="160" WIDTH="150"></TD><TD><IMG SRC="plainname.gif" HEIGHT="170" WIDTH="450"></TD></TR>
</TABLE>
</TD>
</TR>
</TD></TR></TABLE>
</TABLE>
Use nested tables to create a border instead of the border attribute. It looks better in netscape this way anyway.
Surround your content with a table using whatever color you want your border to be as it's background color and then set it's cellpadding to 1. Make sure to set the inner tables background color to account for broswers that inherit.