My number:
The code below works for me in FireFox and Google Chrome, but in IE the button does not change color. can someone show me how i can fix this problem. Any suggestions? My input element:
<input id="pmunch" type="submit" value="Post It!"/>
CSS related to this element:
#pmunch{
width:240px;
height:28px;
padding:2px 4px;
margin-left:24px;
font-family:‘Lucida Console’, Monaco, monospace;
font-size:18px;
border:none;
float:left;
background-color:turquoise;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
#pmunch:hover{
background-color:khaki;
color:green;
cursor:pointer;
}
source
share