PDA

View Full Version : Annoying space



dthievin
01-18-2004, 01:40 PM
A few years ago I designed a page at my college at http://www.langara.bc.ca/realtime . I remember fighting endlessly to get rid of an annoying little space on the left of the page where the two yellow areas should meet (and don't).

Eventually I just gave up. Now I'm working on another site and having the same problem. But before I go through that ordeal all over again, can someone tell me what's likely wrong with my code?

Many thanks.
-dt-

paulhiles
01-18-2004, 03:07 PM
The table that holds the 'topgraphics' images didn't have it's cellpadding or cellspacing set to "0" Also the first <td> cell had a height setting of "196" rather than "195" to match the graphics. The code underneath should get rid of the gap.

<div align="left">
<table cellpadding="0" cellspacing="0" border="0" width="765">
<tr>
<td height="195">/graphics/topgraphic1.gif/graphics/topgraphic2.gif/graphics/topgraphic3.gif/graphics/topgraphic4.gif/graphics/topgraphic5.gif</td>
</tr>
</table>

<table cellpadding="5" cellspacing="0" border="0" width="765">
<tr>

Any problems, let me know! ;o)

Paul