HeapLink Posted December 4, 2012 Share Posted December 4, 2012 Hello, I am currently looking for a button that I can place on my webpage that will take you to the top. I am looking for something like tumblrs button, if you can help thatd be great! Thanks,-HeapLink Link to comment Share on other sites More sharing options...
Ingolme Posted December 4, 2012 Share Posted December 4, 2012 If you give an id attribute to the body, a simple link can bring you to the top of the page. <body id="top"> <a href="#top">Back to top</a> Link to comment Share on other sites More sharing options...
HeapLink Posted December 4, 2012 Author Share Posted December 4, 2012 If you give an id attribute to the body, a simple link can bring you to the top of the page. <body id="top"> <a href="#top">Back to top</a> This is great, but I'm looking for one that scrolls with you down the page. Link to comment Share on other sites More sharing options...
Ingolme Posted December 4, 2012 Share Posted December 4, 2012 You can use CSS position: fixed to always have the button in the same position of the window no matter if you scroll. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now