homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

Anchor links not working in Firefox
in particular those with images

5+ Year Member

Msg#: 3943600 posted 9:54 pm on Jun 30, 2009 (gmt 0)


I do hope someone might be able to help me. I thought it was just my computer having a funny turn, but I've checked it on another machine and it appears to be a problem.

I have uploaded my new website over the last few days. It works fine, across all browsers, for the most part.

The problem that I am now faced with is that the anchor links that I have on my pages are not actually working. They do not click, and do not link to the page they are supposed to. This is only a problem in Firefox.

Here is an example of the code that it doesn't work with:

<a href="pho1a.php"><img src="images/010.jpg" width=279px height=210px border=0 alt="text"></a>

Oddly, it is also doing the same thing around my text links too, so it is not just a thing with the images.

It is probably something really obvious.

I hope you are able to help.

Thanks in advance.



WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3943600 posted 10:09 pm on Jun 30, 2009 (gmt 0)

The markup was invalid. Try:

<a href="pho1a.php"><img src="images/010.jpg" width=[b]"279"[/b] height=[b]"210"[/b] border=[b]"0"[/b] alt="text"></a>

It's a very good idea to run your code through a validator before publishing it. You can use the on-line validator at w3c.org, or download any one of a number of free ones to run on your workstation.



5+ Year Member

Msg#: 3943600 posted 11:27 am on Jul 1, 2009 (gmt 0)

Thanks Jim.

I've been through it all correcting things like that. The validator says it's all correct, but now it still isn't working.

On closer inspection, each page appears to allow me one link in the main body of text which can be clicked. The rest are just there but not clickable.

Any other suggestions? I've rewritten the links to check I've not made mistakes, and they're still not working!


5+ Year Member

Msg#: 3943600 posted 12:27 pm on Jul 1, 2009 (gmt 0)

Problem solved. It was in my z-index. Just a bit of a tweak and it is all sorted.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved