spacer problem

I'm trying to make a fixed table with a transparent spacer but...<br />
<br />
<table width="900" border="1" cellpadding="0" cellspacing="0"><br />
<tr><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="1" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="55" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="10" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="250" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="10" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="15" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="10" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="250" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="10" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="15" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="10" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="250" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="10" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="5" height="1"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="55" height="1"></td><br />
</tr><br />
<tr><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="1" height="10"></td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
</tr><br />
<tr><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="1" height="20"></td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
</tr><br />
<tr><br />
HERES THE BUG :confused: <br />
when i open the file the height of the cell seems to be more than 5 px<br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="1" height="5"></td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
<td>&nbsp;</td><br />
</tr><br />
<tr><br />
in fact i need some cells 5p of height but im not able :confused:<!--content-->WOAH! have you got a scrambler on that thing?<br />
the problem may be that even if your pictures are only 3 pxl the tables always add a tiny bit of extra space. Im not sure how to fix it, but im sure that scoutt or somebody can giva ya some fancy CSS to fix it!<!--content-->Try this (the part in bold is what I added):<br />
<br />
<br />
<td style="height: 5px;"><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="1" height="5"></td><!--content-->i doesnt work but thanx<!--content-->try 4px, becuase perhaps that IS 5 and you u dont like it like that....:confused: <br />
<br />
im CONFUSED<!--content-->Ive tried 1 px and i doesnt work and try to visualise the file index.html with a spacer.gif file you ll see what happens<!--content-->sry then, i have no clue.<br />
maybe you should PM scoutt or sumtin, hes real smart:)<!--content-->Strange effect.....<br />
i used Arachnophilia, even the "Tools-Compress" option could not help.<br />
<br />
This is working:<br />
<tr ><td width="1" height="5" valign="top"><!-- trouble row start --> <!-- <img src=http://www.htmlforums.com/archive/index.php/"spacer.gif" width="1" height="1" border="1"> --> </td><br />
<br />
So i left the img out......<br />
<br />
<br />
:rocker:<!--content-->
 
Back
Top