Hi everyone,
My code contains a form and an input of “submit” type.
I want my submit button to be an image so I wrote the next html/css code:
.button
{
background: url("pics/edit.gif") no-repeat scroll 0 0 transparent;
background-size: auto;
}
<input type = 'submit' value='' class = 'button'>
Unfortunately the image turns out to be too big to fit in line with other elements.
I’d like to change the image’s size proportionately (the entire image ! Not only a part of it !)
to be of 20px width 20px height.
Can anyone show me the way to do it eithe in HTML or CSS ?
Thanks