how in css i define an input type=image

liunx

Guest
i have a button with type=image.
in the css i have :

input
{
border-style: solid;
border-color: Gray;
border-width: 1px;
width: 200px;
}

and i tried to do :

input.image
{
border-style: solid;
border-color: Gray;
border-width: 1px;
width: 22px;
}

(beacuse the image width is 22 px but it still dosent work
any idea what to do?
thnaks in advance
peleginput.image {
border-style: solid;
border-color: Gray;
border-width: 1px;
width: 22px;
}
<input type="image" class="image" ...Attribute selector: input[type="image"] {bla;}
Unfortunately it doesn't work in IE, so you will have to use a class or id for the input.it workd givving the class="image"
 
Back
Top