Help - Search - Members - Calendar
Full Version: Table Spacing
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Doyley
Hi all,

I am trying to build a table of colours with no spacing between the columns or rows but I am getting a small space between the rows. Here is my code.

CODE

<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/american green bed.jpg"><img src="colours/americangreen.jpg" border="0" alt="American Green" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/bankers grey bed.jpg"><img src="colours/bankersgrey.jpg" border="0" alt="Bankers Grey" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/black bed.jpg"><img src="colours/black.jpg" border="0" alt="Black" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/bright red bed.jpg"><img src="colours/brightred.jpg" border="0" alt="Bright Red" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/burgundy bed.jpg"><img src="colours/burgundy.jpg" border="0" alt="Burgundy" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/cadet blue bed.jpg"><img src="colours/cadetblue.jpg" border="0" alt="Cadet Blue" /></a>
</td>
</tr>
<tr>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/camel bed.jpg"><img src="colours/camel.jpg" border="0" alt="Camel" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/electric blue bed.jpg"><img src="colours/electricblue.jpg" border="0" alt="Electric Blue" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/english green bed.jpg"><img src="colours/englishgreen.jpg" border="0" alt="English Green" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/fuschia bed.jpg"><img src="colours/fuschia.jpg" border="0" alt="Fuschia" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/olive bed.jpg"><img src="colours/olive.jpg" border="0" alt="Olive" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/orange bed.jpg"><img src="colours/orange.jpg" border="0" alt="Orange" /></a>
</td>
</tr>
<tr>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/petrol blue bed.jpg"><img src="colours/petrolblue.jpg" border="0" alt="Petrol Blue" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/powder blue bed.jpg"><img src="colours/powderblue.jpg" border="0" alt="Powder Blue" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/purple bed.jpg"><img src="colours/purple.jpg" border="0" alt="Purple" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/red bed.jpg"><img src="colours/red.jpg" border="0" alt="Red" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/royal blue bed.jpg"><img src="colours/royalblue.jpg" border="0" alt="Royal Blue" /></a>
</td>
<td>
<a target="image" href="images/beech rail/elite pro jpeg/spruce bed.jpg"><img src="colours/spruce.jpg" border="0" alt="Spruce" /></a>
</td>
</tr>
</table>


Many thanks
Doyley
Never mind, I found http://forums.htmlhelp.com/index.php?showtopic=3162

Thanks anyway!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.