View Single Post
Old 07-22-2008, 09:40 AM   #5
Aarlev
Web Designer
 
Aarlev's Avatar
 
Join Date: Jan 2008
Location: London
Posts: 343
Default

Try removing all the &nbsp; tags in the code. Sometimes a <br /> after an image also sorts out gaps in Table layouts. Don't ask me why . Also try to avoid rowspan and colspan as it usually creates gap problems. Wrap everything inside tables instead. Make sure they all have cellpadding="0" and cellspacing="0".

I.E:

<table cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>

<table cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>


Instead of:

<table cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td ="colspan="3"></td>
</tr>
</table>



Ideally you should stay fra away from tables and DW. But if you're just doing this one site it's a bit much to learn XHTML/CSS just for that.

Hope that helps.
__________________
//PORTFOLIO\\

Last edited by Aarlev : 07-22-2008 at 09:52 AM.
Aarlev is offline   Reply With Quote