Results 1 to 3 of 3
-
03-31-2004, 01:22 PM #1Disabled
- Join Date
- Jan 2004
- Posts
- 1,769
'NamedAnchor' - Why are the there?
I'm re-designing a page that was originally built by someone else. Fairly simple table, few rows and colums, nothing unusual. At the top part of each section (the name/header/desription text of that section) is a 'NamedAnchor'. I see no purpose for them to be there, and I was just going to just delete them, but figured I better ask in case there was something I was missing.
By the way, there are no links anywhere that would take you to a certain/specific part of this page (as opposed to just taking you the top) so I just don't understand what purpose they could be serving.
Any ideas?
-
03-31-2004, 02:41 PM #2WHT Addict
- Join Date
- Feb 2004
- Location
- FTL on the Information Super Highway
- Posts
- 142
Many people add an anchor name
Code:<a name="top"></a>
Code:<a href="#top">Back to Top</a>
Last edited by serialbeggar; 03-31-2004 at 02:45 PM.
Serial Beggar
Hate Your Family? Have No Friends? Make Me Your Beneficiary!
-
03-31-2004, 04:13 PM #3Web Hosting Evangelist
- Join Date
- Dec 2002
- Location
- Toronto, Canada
- Posts
- 522
AFAIK, the anchor named "#" is automatically defined by the browser. I know that IE and Netscape/Mozilla did this from a very early version. I'm sure all modern browsers do this, also. Therefore, if the anchor is something like "top" that's used to return to the top of every page, feel free to delete it and then redirect any links to that anchor to "#".
Nokhrin - http://www.nokhrin.com/
~ e-commerce application development