如何做出 這些列印的按鈕 .Noprint{display:none;} -------如果不要出現 IE 自動預設的頁首頁尾 .Noprint{display:none;} </font></font><font face="Arial" size="3"> var HKEY_Root,HKEY_Path,HKEY_Key; HKEY_Root="HKEY_CURRENT_USER"; HKEY_Path="\\Software\\Microsoft\\Internet Explorer\\PageSetup\\"; //設定網頁打印的頁眉頁尾為空白 function PageSetup_Null() { try { var Wsh=new ActiveXObject("WScript.Shell"); HKEY_Key="header"; Wsh.RegWrite(HKEY_Root+HKEY_Path+HKEY_Key,""); HKEY_Key="footer"; Wsh.RegWrite(HKEY_Root+HKEY_Path+HKEY_Key,"");</font><font face="Arial" size="3"></body></font></p><p><font face="Arial" size="3">} catch(e){} document.all.WebBrowser.ExecWB(6,6) PageSetup_Default() }</font></p><p><font face="Arial"><font size="3">//設定網頁打印的頁首頁尾為預設值 function PageSetup_Default() { try { var Wsh=new ActiveXObject("WScript.Shell"); HKEY_Key="header"; Wsh.RegWrite(HKEY_Root+HKEY_Path+HKEY_Key,"&w&b&p/&P"); HKEY_Key="footer"; Wsh.RegWrite(HKEY_Root+HKEY_Path+HKEY_Key,"&u&b&d"); } catch(e){} } -----