Site icon

Add a floating 'back to top' icon to web pages

It's nice to have a 'back to top' link throughout a webpage but its a pain to code each link.... better is a floating icon/link that remains at the bottom right corner of the browser window. It's also easy to add to pages - in my experience, you can insert it anywhere in the code, I like to insert it before the last </div> on the page - this makes it easy to use search and replace in my offline editor to add it to my existing sites.

You can use an icon or text - if you have a name tag on the page  for #top, use it, otherwise, just the # tag will do.


Exit mobile version