Quantcast
Channel: CSS issue styling button - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Daniel Jonce Evans for CSS issue styling button

$
0
0

I think the button's background and borders are the cause of your headache.

Try something like this:

.custombtn {    margin: 10px;    width:163px;    height:43px;    background-image:url('images/normal.png');    background-color: transparent;    border: none;}.custombtn:hover {    background-image:url('images/hover.png');}.custombtn:active {    background-image:url('images/click.png');}​

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>