Reply to Re: tables and anchors

Your name:

Reply:


Posted by Harlan Messinger on 12/20/07 13:23

eliza.block@gmail.com wrote:
> 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?

Yes, there isn't any reason to put the anchor in its own cell at all.
Put it directly in front of the first name that begins with S, within
the cell that contains it.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация