|
Posted by Jukka K. Korpela on 12/22/07 21:35
Scripsit eliza.block@gmail.com:
> 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.
Anything between rows (except <tbody> tags, which is irrelevant here) is
invalid markup.
> 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.
You shouldn't use dummy (empty) cells. Instead, put the id="S" attribute
into the <td> tag of the first cell in a row. (You could also use <tr
id="S">.)
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|