<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title> <script language="javascript"> function show(){ window.print(); } </script> </head> <style> *{ margin:0px; padding:0px;} #zhu{ border:1px solid #CCCCCC; margin:auto; width:400px; height:750px;} #sheji{ border:1px #FF0000; margin:60px auto; width:370px; height:650px;} input{ width:100px; height:auto; font-size:12px;} span{ font-size:12px;} #fajianren{ margin-left:25px; } #shoujianren{ margin-left:25px; } #baobeiming{ width:280px; height:auto; font-size:12px; text-align:center;} #shuliang{width:60px; font-size:12px; text-align:center;} .dizhi{width:275px;} #anniu{ float:right} </style> <body> <form> <div id="zhu"> <div id="sheji"> <div id="shoujianren"> <span>收件人: </span> <input type="text"/> <span>电话:</span><input type="text" /><br /><br /> <span>收货地址:</span><input type="text"class="dizhi" /><br /> <input type="text" class="dizhi" /><br /> </div><br /> <hr style="height:1px;border:none;border-top:1px dashed #0066CC;" /> <span>货物名称</span> <span>数量</span> <hr /> <input type="text" id="baobeiming" /> <input type="text" id="shuliang" /> <br /><br /> <hr style="height:1px;border:none;border-top:1px dashed #0066CC;" /> <div id="fajianren"> <span>发件人: </span> <input type="text" /> <span>电话:</span><input type="text" /><br /><br /> <span>发货地址:</span><input type="text" class="dizhi" /><br /> <input type="text" class="dizhi" /><br /> <span>留言备注:</span><input type="text" /><br /><br /> </div> </div> <div id="anniu"> <input type="reset" value="重新填写" /> <input type="button" id="bt" value="打印" onclick="show()" /> </div> </div> </form> </body> </html>
时间: 2024-10-24 05:48:06