Back to the top button
CynthiaM
Registered Users Posts: 364 Major grins
Could someone help me with code for a back to the top button? I would like to use this button:
which is located at this link; http://www.cynthiamerzerphotography.com/photos/i-7FZsMvc/0/O/i-7FZsMvc.png. I would like the button placed in the lower right corner.
Thanks!
which is located at this link; http://www.cynthiamerzerphotography.com/photos/i-7FZsMvc/0/O/i-7FZsMvc.png. I would like the button placed in the lower right corner.
Thanks!
0
Comments
SmugMug Hero & CSS Monkey
https://help.smugmug.com/get-started-with-customization-SkgwJ4rM
-Chare'e Marniece
http://www.facebook/cMarniecePhotography
My Website index | My Blog
Notice the div ID, that's what is referenced in the CSS for formatting the button.
<div id="topButton">
<a href="#top"><a href="#top"><img src="http://www.cynthiamerzerphotography.com/photos/i-7FZsMvc/0/O/i-7FZsMvc.png" border="none" /></a>
</div>
This CSS sets the placement of the button display at the screen bottom.
#topButton {
position: fixed;
bottom: 0;
left: 50%;
...
...
}
My Website index | My Blog