<div id="biuuu_button">打印</div>
<div id="myPrintArea">
.....文本打印部分.....
</div>文本打印部分 我里面有个table 我写的css在表头 但是打印的时候css不管用了!
求高手指教!谢谢!
<div id="myPrintArea">
.....文本打印部分.....
</div>文本打印部分 我里面有个table 我写的css在表头 但是打印的时候css不管用了!
求高手指教!谢谢!
var hkey_root,hkey_path,hkey_key;
hkey_root="HKEY_CURRENT_USER";
hkey_path="\\Software\\Microsoft\\Internet Explorer\\PageSetup\\";
try{
var RegWsh = new ActiveXObject("WScript.Shell")
hkey_key="header"
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"")
hkey_key="footer"
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"")
}catch(e){}
我printArea方法前面不好使~