Forum Moderators: open

Message Too Old, No Replies

Getting anchor links to work with Mozilla

         

timchuma

12:58 am on Jul 16, 2004 (gmt 0)

10+ Year Member Top Contributors Of The Month



For some reason the anchor links that I have on my site don't seem to work with Mozilla (Firefox 0.9)

They are in the folliwing format:
<A HREF="#WidgetLink">Widget Anchor</A>

Is there anything extra Mozilla needs to get them working?

Thanks.

iamlost

4:25 am on Jul 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You did not give an example of how you write your destination anchor.

[w3.org ]

Destination anchors in HTML documents may be specified either by the A element (naming it with the name attribute), or by any other element (naming with the id attribute).

Using your example the destination could be:

<h2><a name="WidgetLink">This Is The Destination Anchor</a></h2>

or:

<p id="WidgetLink">This Is The Destination Anchor</p>

Both work in FireFox.

If you still have a problem post a sample destination anchor that is not working.