...

Table puzzle

gorilla1
06-30-2002, 12:47 AM
I have a couple of images 75 pixels in height that I want across the header portion of a page. I want to put them in a table that is no bigger than they are - 75 pixels. It seems to me that the code below should do it, but instead the table occupies a bit more than the 75 pixels - more like about 80 or 82. Can anyone spot why?

G

<BODY BGCOLOR=#c6e1bb MARGINWIDTH=0 MARGINHEIGHT=0 LEFTMARGIN=0 TOPMARGIN=0 LINK=#660000 VLINK=#660000 ALINK=#996633 >


<!--------------- Header---------------->

<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0 BGCOLOR=005e00 HEIGHT=75>


<TR>
<TD VALIGN=top ALIGN=LEFT >
<a href="default.asp"><IMG SRC="ltop001.gif" WIDTH=272 HEIGHT=75 BORDER=0 ALT="logo"></a>
</TD>

<TD VALIGN=TOP ALIGN=right>
<a href="direct.html"><IMG SRC="ltop6.jpg" WIDTH=214 HEIGHT=75 BORDER=0 ></a>
</TD>
</TR>

</TABLE>

Nightfire
06-30-2002, 01:02 AM
Cut the space out between the <td> and the image

<td><img src....></td>

That cuts out the "natural" spacing

gorilla1
06-30-2002, 01:07 AM
Geez, that's incredible. Thanks Nightfire.

G



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum