View Single Post
 
Old August 4th, 2004, 01:06 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

There *is* a big difference, and it's not just about the borders. With an <a> around the content in the cell, just the content is linked. This means that if your content is 50 pixels wide, and your table column 100px, the 50 pixels to the right of the content is not linked. You can try it out:

<table width="600" border="1">
  <tr>
    <td width="300"><a href="#">123</a></td>
    <td width="300"><a href="#">234</a></td>
  </tr>
</table>

If you view this in a browser, just 123 and 234 are linked; not the rest of the whitespace in the table.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.