Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Senior Member medlington's Avatar
    Join Date
    Nov 2005
    Location
    Sheffield, UK
    Posts
    377
    Member #
    11968
    Liked
    4 times
    Hi,

    Iv got a page thats working fine in IE but strangely in Firefox (what a surprise)

    For some reason the links which link to anchors within the page dont work in FF, One of the links works ok in FF but the other 2 seem to link to the top of the page instead of where they should link to.

    any ideas?

    http://www.minerva-research.co.uk/test/index.php

    the internal links are beneath the pictures and should link to further down the page.

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    I haven't done anchors in AGES but I think now you have to to use the id attribute!?

    Code:
    <a id="political" name="political">sdfasdfa</a>
    I could be wrong however.

    I think this has been discussed not too long ago on the forums ...
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  4. #3
    Senior Member medlington's Avatar
    Join Date
    Nov 2005
    Location
    Sheffield, UK
    Posts
    377
    Member #
    11968
    Liked
    4 times
    Thanks Karinne,

    That seems to work fine now. I've not used anchors in ages myself but they seemed to be an suitable solution for this project.

  5. #4
    Senior Member paintingtheweb's Avatar
    Join Date
    Jul 2007
    Location
    Las Vegas
    Posts
    128
    Member #
    15503
    Different browsers handle anchors differently. When you're using them - it's always good practice to use both the name and id property so as to cover the browser specrtrum so to speak.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:02 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com