<style type="text/css">
input {
padding: 2 4 0 4;
font-size: 12px;
background-color: #ece9d8;
}
</style>
</head>
<body><input type="button" value="按钮" name="B3">
 
</body>

解决方案 »

  1.   

    <STYLE>
    INPUT.button
    {
    padding: 2 4 0 4;
    font-size: 12px;
    background-color:#ece9d8;
    font-size: 29pt;
    }
    </STYLE>
    </head>
    <body><input type="button" value="按钮" name="B3" class="button">
     
    </body>
      

  2.   

    starwu(starwu)   你的方法不行,因为我页面上还有 <input type="text"> 
    stefli((桂电))  正因为我不想一个一个的去改页面 ,所以 class="button"  不行  能否 INPUT.button  怎么改后就可以了。
      

  3.   

    <script language=javascript>
    switch(type)
    {
      case 'text':
      case 'submit':
      case 'reset':
      case 'button':  
        style.border="1px solid #80B4FB";
        style.backgroundColor="#C6DDFD";
        style.valign="top";
        style.height="18px";
        style.font="normal 12px 宋体";
        style.color="#000000";
        break;
      default:  
        ;
    }
    </script>
    将上面文件保存成.htc文件,比如input.htc
    然后引用<STYLE>INPUT
    {
    behavior:url('input.htc的相对路径');
    }
    </STYLE>
    </head>
    <body><input type="button" value="按钮" name="B3" ID="Button1">
     
    </body>