如果你用的是<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>
<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>
你说的不妥,打击面太大了!!!!如果你用的是<BUTTON>..</BUTTON>,那么试试
<style type="text/css">
BUTTON {font-size:8pt}
</style> 这样也不行,我用的是<input type=button name="" value="">
<input type="button" name="zosatapo" value="zosatapo" style="font-size:20pt;width:100;height:50">
<style type="text/css">
.SMALLBUTTON {font-size:8pt}
</style><input type="button" class="SMALLBUTTON" ..>
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()">