Posted by eliza.block on 12/20/07 06:25
Does anyone know an elegant way to put anchors into a table? I have a
large table with names, addresses, phone numbers for 100+ people, and
links at the top to letters of the alphabet. I'd like to be able to
put anchors within the table so that clicking on, say, "S" jumps to
the names ending in S. But putting a line like <a id="S"></a> into the
table between rows doesn't work. (It always jumps to the top of the
table.) Same result for <div id="S"></div>.
I discovered that <td id="S"></td> generates the right behavior; the
problem is that it leaves an ugly space between rows in the table.
Is there a neat solution that I'm missing?
Thanks!
Eliza
[Back to original message]
|