Posted: 5 years ago

Filed under: Browser quirks

Tagged with:

Follow comments

Jumping to anchors in table cells

Interesting IE observation:
You can’t jump to anchors in otherwise empty table cells.

This works:

  1. <tr>
  2.     <td>&nbsp;<a name="myanchor"></a></td>
  3. </tr>

This doesn’t:

  1. <tr>
  2.     <td><a name="myanchor"></a></td>
  3. </tr>

I know I’m doing terrible things to my markup to even want to put an anchor in an empty table cell.. :)

Other people seem to have the same problem.

Leave a Reply