.s {
background-image: url(../images/button.png);
width: auto;
height: 21px;
color: black;
font-weight: bold;
border: 1px solid black;
}
I want to make a button (image) that is auto resized to match the text. Preferably usable for both A and SUBMIT elements.
All I could do was to make it REPEAT, which looks ugly if you include all borders on the image. How to make it STRETCH/RESIZE?