FORUMS: list search recent posts

anchor links not working correctly in different browsers

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
eilis murphyanchor links not working correctly in different browsers
by on Mar 13, 2009 at 1:40:46 pm

Hello,

I'm designing a basic HTML website for a photographer: http://www.hedermanphotography.com

I have created anchor links that take you from the enlarged image page back to where you clicked into the image, on the indexpage. The anchor links are meant to take you back to the point on the main page you were originally at. Pretty straight-forward, I thought but...

Firefox: anchor works perfectly
IE: anchor jumps to random points
Safari: anchors not working at all - just goes to start of page

I have checked my code at http://validator.w3.org/ and it seems to be fine.

Does anybody know a way to make the anchors compatible for all 3 of these browsers - or is there another method I could/should use?

I had thought that anchors were pretty reliable/straight-forward...

I'd really appreciate any feedback.
Thanks.

P.S. I'm currently trying to make the anchors work temporarily for IE instead as this is probably the most widely used browser...? I want to come up with a better long-term solution though.


Return to posts index

Fernando MolRe: anchor links not working correctly in different browsers
by on Mar 17, 2009 at 1:45:34 am

It's a Safari bug. Historically Safari has always had problems with anchor links. The actual version seemed to work OK, but now you have found another bug for them. No anchor links horizontally. Maybe it's something to report to apple.

I don't know if there's a hack, but I think there's not.



Return to posts index

eilis murphyRe: anchor links not working correctly in different browsers
by on Mar 17, 2009 at 11:15:16 am

Thanks Fernando,
I've reported it to Apple so maybe they'll sort it out sometime.



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]