Forum Moderators: open

Message Too Old, No Replies

Anchor Link not working in IE.sort of

         

deadhippo

3:19 pm on Feb 12, 2007 (gmt 0)

10+ Year Member



Hi,
I have some anchors on my page. Links from the page that go up to an anchor work fine. I mean the anchor is above the link.
Then I have some text links that point down the page but they don't work in IE.

<a href="courses.htm#Privates">Privates</a>

<a name="Privates" id="Privates"></a>

Does anybody know what I am doing wrong.

penders

10:21 pm on Feb 12, 2007 (gmt 0)

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



For internal anchors - links on the same page - you don't need to specify the filename in the href attribute, just the "#Privates" would suffice. Including the filename would cause the file to be refetched from the server - although should still work?!

Also, you could perhaps try including 'something' in your named anchor. So, what happens if you try...

<a href="#Privates">Privates</a> 

<a name="Privates" id="Privates">Something</a>

?

deadhippo

1:07 am on Feb 14, 2007 (gmt 0)

10+ Year Member



Thanks...that works.
Appreciated.