Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) anchor links not working correctly in different browsers

  • anchor links not working correctly in different browsers

    Posted by Eilis Murphy on March 13, 2009 at 1:40 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 https://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.

    Eilis Murphy replied 17 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Fernando Mol

    March 17, 2009 at 1:45 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.

  • Eilis Murphy

    March 17, 2009 at 11:15 am

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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy