[HTML]<div name="wenben" id="wenben">HighLight me and Click Button</div>
<input onClick="makeitbig()" type="button" value="make it big">
<script>
function makeitbig(){
if (navigator.appName=='Netscape')
{document.getSelection().execCommand("FontSize",fa lse,29);}
else {document.selection.createRange().execCommand("Fon tSize",false,29);}
}
</script>[/HTML]
After geting the selection, how to create range, because i need to exec command like the above example. But in Netscape, i don't know how to make it work
anyone help, thanks a lots