如果你用的是<input type=BUTTON>,试试
<style type="text/css">
INPUT {font-size:8pt}
</style>假如你觉得这打击面太大,连<input type=TEXT>都影响到了,用下列脚本
<script language="javascript">
var inputs = document.all.tags("INPUT");
for (var i=0; i < inputs.length; i++)
 if (inputs[i].type == "button")
inputs[i].style.fontSize = "8pt";
</script>如果你用的是<BUTTON>..</BUTTON>,那么试试
<style type="text/css">
BUTTON {font-size:8pt}
</style>

解决方案 »

  1.   

    karma(无为),
    你说的不妥,打击面太大了!!!!如果你用的是<BUTTON>..</BUTTON>,那么试试
    <style type="text/css">
    BUTTON {font-size:8pt}
    </style> 这样也不行,我用的是<input type=button  name="" value="">
      

  2.   

    你要的就是象下面的那样就可以了。自己根据需要修改一下。
    <input type="button" name="zosatapo" value="zosatapo" style="font-size:20pt;width:100;height:50">
      

  3.   

    That is why I provided the javascript solution!or you can do
    <style type="text/css">
    .SMALLBUTTON {font-size:8pt}
    </style><input type="button" class="SMALLBUTTON" ..>
      

  4.   

    我知道你这样是可以,但是我的页面有很多个BUTTON啊,一个一个改,那多麻烦,如果要是能够在CSS中实现就最好不过了,我只要INCLUDE一下就可以了,所有的按钮就变小了1!!!
      

  5.   

    use the javascript solution
      

  6.   

    怎么用?karma(无为) 大哥!!!
      

  7.   

    <script language="javascript">
    function setButtonFontSize()
    {
       var inputs = document.all.tags("INPUT");
       for (var i=0; i < inputs.length; i++)
       if (inputs[i].type == "button")
         inputs[i].style.fontSize = "8pt";
    }
    </script>
    <body onload="setButtonFontSize()">