At 12:05 PM 10/6/2004, john wrote:
I want to put a "top of page" link in the footer of one of my sites, so instead of using the <a name=""> tag, I <a href=""> to one of my ID's. The problem is, I've used "z-index" in the CSS so that the header and nav stay put when scrolling...but it doesn't work in IE. The result is that, in IE, when you hit the "to the top" link, it doesn't take you all the to the top of the page (where you can see the header and nav).


John,

Why not just put <a name="content"></a> at the top of the page?

Some browsers don't appear to need a corresponding named anchor if the link is to "#top". Here's a test page in which you can see how your various browsers behave.
http://novitskisoftware.com/test/topofpageTest.html


Paul


****************************************************** The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to