<script language="javascript" type ="text/javascript" >
function fontZoom(size)
{ document.getElementById('fontzoom').style.fontSize=size+'px'}
</script>
<div>
字体:[<a href="javascript:fontZoom(18)">大</a> <a href="javascript:fontZoom(14)">中</a>
<a href="javascript:fontZoom(12)">小</a>]
<div id="fontzoom">
fskflskldfsdlkfjsdlkfgjsl;f</div>
</div>