Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

#Top 1

Status
Not open for further replies.

LLudlow

Programmer
Joined
Oct 5, 2001
Messages
186
Location
CA
I have a number of long pages and to make my site more user friendly I am using a Top link to return the user to the top of the page. My question is very simple, in the link text box when i have the word top highlighted i have put in #Top. But I do not have an anchor anywhere on my page called Top but it works anyway? Does Dreamweaver automatically insert such an anchor or am I just lucky that this is working?
 
Dreamweaver isn't doing it.

html4 knows an anchor named "top" means got to the top of the page.
 
So this will work in most browsers?
 
yes. at least i knowit works in ns and ie everything. If you are serious about brwoser compatiblity, you should download every browser type you want your site to work in, and set them up on your computer.

You can then set dreamweaer up so you can check your site in every browser you have isntalled. easiest way to find out what works and what doesn't
 
Hello people!

I've never heard that HTML 4.0 has reserved word top (#top), but I think that it works only because browser tries to find an anchor from the very biginning of the page and when it doesn't find it stays on the top.

I used to use only # sign to get to the top but once showing the project on the client's computer I found that it didn't work (it was on IE, don't know the version). So now I always place some named anchor at the top and call it from the bottom (or any other place). So my suggestion is to place anchor named top (in your case, you surely may call it any other name also).

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top