Go to the bottom of the page when the page is loaded

M

Matt

The html page is very long and has a button on the bottom.
How to make the browser go to the bottom of the page when the page
is loaded??

Thanks!
 
G

Geoff Ball

(e-mail address removed) (Matt) wrote in @posting.google.com:
The html page is very long and has a button on the bottom.
How to make the browser go to the bottom of the page when the page
is loaded??

Do you mean your browser, or that of the user?

<html>
....
<a href="#foo">Go to the bottom</a>
....
<img id="foo" src="button" alt="Button" />
....
</html>

If it's so important, why not put the button at the top of the document?

Regards,
Geoff
 
R

rf

Matt said:
The html page is very long and has a button on the bottom.
How to make the browser go to the bottom of the page when the page
is loaded??

Put the button at the top of the page?

Cheers
Richard.
 
B

brucie

in post: <
Matt said:
The html page is very long and has a button on the bottom.
How to make the browser go to the bottom of the page when the page
is loaded??

the problem isn't the browser or the page but the limited GUI area.

<style type="text/css" media="display">
gui{position:fixed;}
</style>

lift your monitor up/down/left/right to scroll
 
K

Karl Groves

Matt said:
The html page is very long and has a button on the bottom.
How to make the browser go to the bottom of the page when the page
is loaded??

Use a shorter page.
If the stuff at the top is irrelevant (why else would you want to skip past
it), then delete it altogether.

-Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top