减小字体 增大字体
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <META content="text/html; charset=gb2312" http-equiv=Content-Type><STYLE>INPUT { BACKGROUND-COLOR: white; BORDER-BOTTOM: #999999 1px solid; BORDER-LEFT: #999999 1px solid; BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; HEIGHT: 18px}.unnamed1 { font-size: 9pt; color: #000000; text-decoration: none}</STYLE><SCRIPT>function runEx(){var winEx2 = window.open("", "winEx2", "width=500,height=300,status=yes,menubar=no,scrollbars=yes,resizable=yes"); winEx2.document.open("text/html", "replace"); winEx2.document.write(unescape(event.srcElement.parentElement.children[0].value)); winEx2.document.close(); }function saveFile(){ var win=window.open('','','top=10000,left=10000'); win.document.write(document.all.asdf.innerText) win.document.execCommand('SaveAs','','a.html') win.close();}</SCRIPT><META content="MSHTML 5.00.3315.2870" name=GENERATOR><title>测试代码</title></HEAD><BODY bgColor=#6699CC scroll=auto text=#000000><DIV align=center><P><TEXTAREA id=asdf name=textfield rows=20 style="BACKGROUND-COLOR: black; BORDER-BOTTOM: #999999 1px solid; BORDER-LEFT: #999999 1px solid; BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; COLOR: white; FONT-FAMILY: Verdana; WIDTH: 90%" wrap=VIRTUAL>
[提示:你可先按照下面代码提示修改 上面部分代码,再按运行,此处看到的演示不完全正确]