方式一:
<style>
input{
color: expression(this.type=="button"?'red':'blue');
background-color: expression(this.type=="submit"?'#b3cc92':'');
}
< /style>
< input type=button value="提交">
方式二:
input[type=button]{
background:#F0F0F0 repeat-x;
padding-top:3px;
border-top:1px solid #708090;
border-right:1px solid #708090;
border-bottom:1px solid #708090;
border-left:1px solid #708090;
width:80px;
height:auto;
font-size:10pt;
cursor:hand;
}