Posted by Lόpher Cypher on 11/14/95 11:27
Hi,
I have the following code:
<img src="images/bg-temp.gif" class="logo" />
<table class="page" cellspacing="0" cellpadding="0">
<tr>
...
</tr>
</table>
And the following CSS:
table {
margin:0 0 0 0;
padding:0 0 0 0;
border:0;
}
img {
margin:0 0 0 0;
padding:0 0 0 0;
border:0;
}
img.logo {
width:698px;
height:100px;
border:1px solid #808080;
margin-top:12px;
}
table.page {
width:700px;
border:1px solid #808080;
background:#ffffff;
}
I figure the table should be aligned so that it is right under the
image. However, there appears to be about 4px space between the image
and table. Anyone knows why?
Thanks,
lΓΌph
Navigation:
[Reply to this message]
|