css - How to show image inside a button? -
how can make image inside button fit better , higher quality?
<button onclick="clipboard(z#emp_ext#);"> <img src="copy-icon.png" style="height:16px;width:16px;"> </button>
im using image https://www.iconfinder.com/icons/174935/copy_icon . here how looks code above.
i made http://jsfiddle.net/e58s7jpy/ don't show image here. wish post image need 10 reputation ;(.
you need save image btter quality enhancing pixels in path refer.
hope helps. if happy, vote answer.
button div{ width:16px; height:16px; background-image: url(images/ui-icons_d19405_256x240.png); }
you can enhance background modification , padding.
Comments
Post a Comment