Recently I added a back to top button on my website. (It is not my code, it is someone else who made this.)
Anyways I just want to know something about the css styling of it, by using images to describe what is going on.
[ATTACH=CONFIG]n4029694[/ATTACH]
This is my button, removed the background color and tried to use background-image instead.
I uploaded the image file to this directory: images/primus/sandy/buttons
I tried to switch out the "background: #FFF;" with "background-image:url('forum/images/primus/sandy/buttons/top_button.png');"
I am currently using html <style> tags with css, so I have no idea how to make the image appear inside the back to top button.
Image is like 144px wide or something. I have tried to adjust the padding, but that doesn't work either.
Anyways I just want to know something about the css styling of it, by using images to describe what is going on.
[ATTACH=CONFIG]n4029694[/ATTACH]
This is my button, removed the background color and tried to use background-image instead.
I uploaded the image file to this directory: images/primus/sandy/buttons
I tried to switch out the "background: #FFF;" with "background-image:url('forum/images/primus/sandy/buttons/top_button.png');"
I am currently using html <style> tags with css, so I have no idea how to make the image appear inside the back to top button.
Image is like 144px wide or something. I have tried to adjust the padding, but that doesn't work either.
Comment