on click submit button move itsplace

Posted by Mayur on Stack Overflow See other posts from Stack Overflow or by Mayur
Published on 2010-06-16T09:51:53Z Indexed on 2010/06/16 9:52 UTC
Read the original article Hit count: 151

Filed under:
|

Hi All, I m Using submit button for my form its work fine in all browser except ie7 when an user click on it it moved please suggest me what to do

.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:32px;
   padding     : 8px 0px 12px 0px;
}

.confirm-button-submit:hover 
{
   width       : 79px;
   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;
   border:0px;
   cursor : pointer;
   height:32px;
   padding     : 8px 0px 12px 0px;
}

i used this css please tell me what to do

code:

<input type="button" value="Show" name="commit" onclick="range_validation(this)" class="confirm-button-submit"/>`  

© Stack Overflow or respective owner

Related posts about html

Related posts about css