PDA

View Full Version : remove Gape/space between 2 Table, How?


3dmaya
04-29-2007, 07:15 AM
hi guys that is me again. I create 2 table , the top is the header (with image background) and the bottom is with text and image. (this table already split to 3 row and 2 colum for taxt and image)

when I check it on IE/ firefox I see the small gape or space between 2 table
(the header table and the body table) I trid everything but still I mis something , may you know better. please say something if you know something

here is the code


<title>mainpage</title>
</head>

<body bgcolor="#3366FF">
<table width="800" height="290" border="0" align="center" cellpadding="0" cellspacing="0" id="Header">
<tr>
<th height="191" align="left" valign="top" background="../My Documents/dubai3d/header.jpg" style="background-repeat: no-repeat;"scope="col"></th>
</tr>
<tr>
<td height="99" align="left" valign="top" background="webpage folder/new web/images/menu.jpg" style="
background-repeat: no-repeat;" > <table width="800" height="56" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="800" align="left" scope="col"><p><font color="#FFFFFF" size="3"><strong><font size="4"></font>home</font></strong></font></p></td>
</tr>
</table></td>
</tr>
</table>
<table width="800" height="415" border="0" align="center" cellpadding="0" cellspacing="0" background="webpage folder/new web/images/bodypage without.jpg" id="Body" style="background-repeat: no-repeat;">
<tr>
<td width="46" height="37"> </td>
<td width="559">&nbsp;</td>
<td width="196">&nbsp;</td>
</tr>
<tr>
<td height="325">&nbsp;</td>
<td align="left" valign="top"><p align="justify"><font color="#FFFFFF" size="4">Dubai 3dstudio is the rest of text
</p></td>
<td><img src="webpage folder/new web/images/burj.jpg" alt="burj" width="174" height="359" /></td>
</tr>
<tr>
<td height="19">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table></body>
</html>

Andromeda
04-30-2007, 06:30 AM
When I copy and paste your code into Dreamweaver and then preview it I do not get a gap.

You've actually got three tables and not two. To show you what I get have a look at the attached image. The dark red represents your first table. The green represents the second table which is nested in the first table and the lighter blue represents the third table. As you can see, there is not gap.