StephenCT
09-13-2011, 11:54 AM
I need to know if its possible to customize an html form input button. I would like to be able to make the corners round. I can round off one side using a background image but am unable to round off the other side. Below is my css using an image to round off the left side. The image is approx 300 px wide to allow different lengths of text.
Any suggestions would be greatly appreciated.
Thanks!
Stephen
CSS:
input.btn {
cursor:hand;
color:#fff;
font-family: Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
padding:2px 4px 2px 4px;
background: transparent url('button_bg.gif') no-repeat;
border:none;
margin:0 0px 0 0px;
height:25px;
border-radius:20;
}
Any suggestions would be greatly appreciated.
Thanks!
Stephen
CSS:
input.btn {
cursor:hand;
color:#fff;
font-family: Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
padding:2px 4px 2px 4px;
background: transparent url('button_bg.gif') no-repeat;
border:none;
margin:0 0px 0 0px;
height:25px;
border-radius:20;
}