Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

dreamweaver mx course - dreamweaver top page

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver mx course - Dreamweaver - top of page link

dreamweaver mx course - Dreamweaver - top of page link

ResolvedVersion Standard

Elaine has attended:
Dreamweaver 8 Introduction course

Dreamweaver - top of page link

I am trying to create a 'return to top of page' link at the end of each page on my site. How do I do this?

Many thanks,

Elaine Warriner

#top anchor

Hi Elaine,

Hope you enjoyed the course last week.

A solution to your question is to create an anchor at the top of your page, perhaps as the first element after <body> tag (before any text, images or tables). To do this, place your cursor in desired insertion point and choose Insert > Anchor. Sometimes it's called Named Anchor.

Normally you would name this anchor top.

You then need to link to the anchor. There are a few ways to do this, but the easiest is to create a link to simply #top (or whatever you've called the anchor). Note the use of the hash character before the name, this is how you indicate you are linking to an anchor, not another web page.

Another way is to simply link to a hash. This is a built in shortcut for most browsers which jumps the user back to the top of the page.

The code will look like this:

<a href="#">Back to top</a>


I trust this answers your question. Have a lovely Christmas.

Regards, Rich

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.14 secs.