org-email-view.jsp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>信封</title>
  6. <script type="text/javascript" src="${ctx}/qui/libs/js/jquery.js"></script>
  7. <style media=print type="text/css">
  8. .noprint {
  9. display: none;
  10. }
  11. </style>
  12. <style type="text/css">
  13. table {
  14. border-right: 1px solid #cccccc;
  15. border-bottom: 1px solid #cccccc
  16. }
  17. table th {
  18. border-left: 1px solid #cccccc;
  19. border-top: 1px solid #cccccc
  20. }
  21. table td {
  22. border-left: 1px solid #cccccc;
  23. border-top: 1px solid #cccccc
  24. }
  25. .left{
  26. width: 50%;
  27. }
  28. .right{
  29. width: 50%;
  30. }
  31. </style>
  32. <script type="text/javascript">
  33. function doPrint() {
  34. window.print();
  35. }
  36. </script>
  37. </head>
  38. <body>
  39. <div class="noprint"
  40. style="padding-top: 10px; padding-right: 200px; text-align: right;">
  41. <input type="button" value="打印" onclick="doPrint();">
  42. </div>
  43. <table >
  44. <tr>
  45. <td ><div class="left">111111</div></td>
  46. <td ><div class="right">2222222</div></td>
  47. </tr>
  48. </table>
  49. </body>
  50. </html>