What is the recommended way for linking back to the top of the page? 
I can't link to the id of my H1 because my CSS keeps it visible even
when it scrolls down, so linking to it doesn't scroll the window up to
the top. (If there is a work-around, please let me know.)  I think my
options are as follows:

1) Giving my BODY id="top" and linking to that seems to work but might
not be widely supported.
2) Using an empty DIV or SPAN with id="top" would certainly work but
empty tags seem like an ugly solution.
3) Linking to the undefined href="#" seems to be easiest, but is
semantically ambiguous and might have usability and browser support
issues.

So what does conventional wisdom say is best?  Most important to me is
that it works across most modern browsers (released within the last
few years incl. IE6, Ff1.0, Saf1).  Secondly, I wish to follow good
design and usability principles.  Supporting older browsers like NS4
and IE4 is not important here.  Thanks!

--Curby
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to