gorilla1
09-25-2002, 03:29 AM
In the code below, I am trying to align a logo to the left side, and then a horizontal navigation bar to the right, while using a 1005 width. The logo has a greater height then the navbar. So the logo has a lot of black and the navbar also has a black background. The logo is in a table cell with rowspan of two (again, it is larger than the navbar). The problem I am having is that a gap shows up between the nav bar and the logo, and the gap shows up with white background instead of black (white, since that area is part of the cell spanning two rows not completely filled by the logo). I was not able to line them up widths, but there must be some way. The code is below, and will display the problem if copy pasted into a browser.
G
<table border="0" cellpadding="0" cellspacing="0" align="center" width="98%">
<tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr bgcolor="000000"><td bgcolor="ffffff" valign="top" align="left" rowspan="2"><a href="index.html"><img border="0" src="vlogz2.gif" height="90" width="255" alt="etc"></a></td>
<td class="basey" height="65" align="left" valign="bottom"><font color="#ffffff"> Home</font></td>
<td valign="bottom" >
<table bgcolor="000000" BORDER="0" class="primenu" align="right" cellpadding=0 cellspacing=0 >
<tr ><td valign="bottom" align="right">
<a href="sub.html" class="navcell">Sub</a> | <a href="dachart.php3" class="navcell">Today</a> | <a href="wkchart.php3"class="navcell">Week</a> </td></tr>
</table></td></tr>
<tr bgcolor="ffffff"><td style="background-image:url('undern2.gif'); background-repeat: repeat-x; background-position: top"> </td><td style="background-image:url('undern2.gif'); background-repeat: repeat-x; background-position: top"> </td></tr>
</table>
<tr>
<td width="100%" height="12"><IMG src="1pix.gif" alt="" BORDER=0></td></tr>
G
<table border="0" cellpadding="0" cellspacing="0" align="center" width="98%">
<tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr bgcolor="000000"><td bgcolor="ffffff" valign="top" align="left" rowspan="2"><a href="index.html"><img border="0" src="vlogz2.gif" height="90" width="255" alt="etc"></a></td>
<td class="basey" height="65" align="left" valign="bottom"><font color="#ffffff"> Home</font></td>
<td valign="bottom" >
<table bgcolor="000000" BORDER="0" class="primenu" align="right" cellpadding=0 cellspacing=0 >
<tr ><td valign="bottom" align="right">
<a href="sub.html" class="navcell">Sub</a> | <a href="dachart.php3" class="navcell">Today</a> | <a href="wkchart.php3"class="navcell">Week</a> </td></tr>
</table></td></tr>
<tr bgcolor="ffffff"><td style="background-image:url('undern2.gif'); background-repeat: repeat-x; background-position: top"> </td><td style="background-image:url('undern2.gif'); background-repeat: repeat-x; background-position: top"> </td></tr>
</table>
<tr>
<td width="100%" height="12"><IMG src="1pix.gif" alt="" BORDER=0></td></tr>