Forum Moderators: open

Message Too Old, No Replies

anchor tag not working in IE properly

works fine in FF

         

cinemaduro

4:08 pm on Mar 20, 2007 (gmt 0)

10+ Year Member



Hello world!

Saw a forum topic with the exact same problem posted in August, but no replies. Hopefully I'm not out of luck.

I've got a simple picture gallery with anchor tags at the top of the gallery navigation, but IE7 (and 6) isn't going to them. It's just going to the page normally (URL has anchor #top in it correctly). I can put my curser up in the URL (change nothing) and hit ENTER, and the page will drop to the anchor tag correctly. I can also click on the picture and go to the index page which uses anchor tags, and this works properly. No idea why it's working there and not in the larger image pages.

Works fine in Firefox.

Anyone here know what the heck is happening?

No URLs please!

anchor tag: <a name="top" id="top"></a>
refering link to anchor: <A name=1 href="pages/Westbend001.php#top">link stuff here</a>

[edited by: BlobFisk at 5:30 pm (utc) on Mar. 20, 2007]
[edit reason] No URLs. Please see Terms of Service [/edit]

Brett_Tabke

4:19 pm on Mar 21, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hit the old w3c validator and eliminate all the errors you can. I bet it fixes itself ;-)

g1smd

7:25 pm on Apr 6, 2007 (gmt 0)

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



So, what did you find out?

Did you fix it?

penders

11:37 pm on Apr 6, 2007 (gmt 0)

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



Could try putting something in your named anchor...?

<a name="top" id="top">something</a>

(See: [webmasterworld.com...]

I've got a simple picture gallery...

Are you specifying a width/height for your images? If not, I believe this could also be a problem...
[webmasterworld.com...]
(specifically the 3rd post in that thread)