Class is not applying to submit button
Posted
by Mayur
on Stack Overflow
See other posts from Stack Overflow
or by Mayur
Published on 2010-06-09T16:29:34Z
Indexed on
2010/06/09
16:32 UTC
Read the original article
Hit count: 163
Hi All,
I m Trying to apply a class to following submit button Code:
<input type="submit" value="Submit" name="commit">
css :
.confirm-button-submit
{
width : 79px;
font : bold 12px sans-serif;;
color : #000;
background : url("../images/confirm-btn.png") 0 -33px no-repeat;
text-decoration : none;
margin-top :0px;
text-align:center;
border:0px;
cursor : pointer;
height:170px;
}
.confirm-button a
{
display : block;
width : 79px;
padding : 8px 0px 12px 0px;
font : bold 12px sans-serif;;
color : #000;
background : url("../images/confirm-btn.png") 0 -33px no-repeat;
text-decoration : none;
margin-top :0px;
text-align:center;
}
.confirm-button a:hover
{
display : block;
width : 79px;
padding : 8px 0px 12px 0px;
font : bold 12px sans-serif;;
color : #fff;
background : url("../images/confirm-btn.png") 0 0 no-repeat;
text-decoration : none;
margin-top :0px;
text-align:center;
}
But its not working proper what to do
Thanks
© Stack Overflow or respective owner