12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <!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=utf-8" />
- <title>信封</title>
- <script type="text/javascript" src="${ctx}/qui/libs/js/jquery.js"></script>
- <style media=print type="text/css">
- .noprint {
- display: none;
- }
- </style>
- <style type="text/css">
- table {
- border-right: 1px solid #cccccc;
- border-bottom: 1px solid #cccccc
- }
- table th {
- border-left: 1px solid #cccccc;
- border-top: 1px solid #cccccc
- }
- table td {
- border-left: 1px solid #cccccc;
- border-top: 1px solid #cccccc
- }
- .left{
- width: 50%;
- }
- .right{
- width: 50%;
- }
- </style>
- <script type="text/javascript">
- function doPrint() {
- window.print();
- }
- </script>
- </head>
- <body>
- <div class="noprint"
- style="padding-top: 10px; padding-right: 200px; text-align: right;">
- <input type="button" value="打印" onclick="doPrint();">
- </div>
- <table >
- <tr>
- <td ><div class="left">111111</div></td>
- <td ><div class="right">2222222</div></td>
- </tr>
- </table>
- </body>
- </html>
|