named anchors not working in Firefox

User Help for Mozilla Firefox

Post Posted January 31st, 2005, 11:33 am

I maintain a site where I have named anchors in a single page, pretty straightforward. For some reason the named anchors do not work in Firefox 1.0, but work fine in IE 4+. I'm thinking it has something to do with the placement of the named anchor in the URL at the end of the query string, but have no idea why.

Here's what the link looks like on the page with the problems:{98FFEVEREST3748-2712-4726-86F8-1A1E90DCA83B}&url=GR#z

You can see the #z at the end of the URL. The "CartID" (session ID) is dynamically generated and I cannot really insert the anchor before the ? signifying the beginning of the query string.

To get to the page, click here:, then click on "Great Rates" in the main nav. The named anchors are at the top of the page, A-Z.

Any help in fixing is much appreciated.



Post Posted January 31st, 2005, 12:10 pm

Here are the <A HREF="">validation results</A>. 1074 errors. Most seem to revolve around the use of 'NOWRAP'.

First thing you need to do is move all of the code before your opening <HTML> tag to after the your opening <HEAD> tag. Same goes for all of your attribute markup (background, table, etc.) It really should go in a style sheet which you place a link to within your <HEAD> tags.

You also need to realphabetize your names. You have countries with one letter in among countries with a different letter. For example, Bogota is in with 'C' countries and Buenos Aries is in among 'A' countries.

The issues you are having may have something to do with the code not being correct. Start by fixing the above issues and see if that helps.


Posts: 4941
Joined: July 31st, 2003, 1:26 pm

Post Posted January 31st, 2005, 12:18 pm

Put the named anchor targets inside the table cells, not outside.


Post Posted January 31st, 2005, 12:30 pm

Much thanks for running the validator, but this is a canned site that I did not code and the number of errors is ridiculous. Fyi, the product is called Everest iCode... never buy it.

Anyhow, I will try fixing a few glaring things and see if that helps. Also, thanks for finding the alphabetizing errors.


old FatJohn
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted January 31st, 2005, 12:32 pm

A few proper code producing products here, price tag 0$.

W3C Amaya



Post Posted January 31st, 2005, 3:33 pm

Thanks for the tool suggestion, but I'm not generating the code. The code was provided by the software manufacturer. The site is bundled with some accounting software and there is miles of poorly written code that no sane person would bother fixing. The site seems to work in IE and Gecko browsers and I think I'll settle for that.

Again, thanks.


Return to Firefox Support

Who is online

Users browsing this forum: Reflective and 7 guests