PDA

View Full Version : Mozilla links


Brian M
September 30th, 2007, 06:42 PM
One of the web pages I've built is fairly long so at intervals I've inserted a link
that would return the viewer to the top of the page.

This link works perfectly with IE but fails when used in conjunction with Mozilla.

A simple function yet annoying when it doesn't work.

<a href="#top">Page Top</a> at the top of the page and
<a href="#top">Back to the top</a> at intervals thereafter.

Can anyone help to solve my problem.

Perhaps I should add that I am very much a beginner when it comes to web design.

rockboy
September 30th, 2007, 08:29 PM
Put this at the top of your page if you don't need to label the top of the page:
<a name="top"></a>

or this:
<a name="top">Page Top</a>

Brian M
September 30th, 2007, 08:34 PM
I knew there had to be a simple answer.
Thanks for that.

btw. the link I had at the top didn't contain any text - that was why I put it in italics on my initial enquiry.

Another headache cured.

Brian M
September 30th, 2007, 08:45 PM
Am I doing something else wrong?

It's still working fine with IE but there's no reaction from Mozilla.
Is there a fix bug to enter somewhere just for Firefox?

Brian M
September 30th, 2007, 08:56 PM
My stupid mistake - sorry - please ignore my previous post

rockboy
September 30th, 2007, 09:50 PM
Glad it's working for you. Here's a few sites to bookmark:

http://www.w3schools.com/
http://www.w3.org/TR/html401/cover.html#minitoc
http://www.w3.org/TR/CSS1