Advertisement
niammuddin

template userman

Apr 5th, 2021
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>voucherku</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache" />
  7. <style>
  8. body {
  9. color: #000000;
  10. background-color: #ffffff;
  11. font-size: 14px;
  12. font-family: "Helvetica", arial, sans-serif;
  13. margin: 0px;
  14. -webkit-print-color-adjust: exact;
  15. }
  16. table.voucher {
  17. display: inline-block;
  18. border: 2px solid black;
  19. margin: 2px;
  20. }
  21. @page {
  22. size: auto;
  23. margin-left: 7mm;
  24. margin-right: 3mm;
  25. margin-top: 9mm;
  26. margin-bottom: 3mm;
  27. }
  28. @media print {
  29. table {
  30. page-break-after: auto;
  31. }
  32. tr {
  33. page-break-inside: avoid;
  34. page-break-after: auto;
  35. }
  36. td {
  37. page-break-inside: avoid;
  38. page-break-after: auto;
  39. }
  40. thead {
  41. display: table-header-group;
  42. }
  43. tfoot {
  44. display: table-footer-group;
  45. }
  46. }
  47. #num {
  48. float: right;
  49. display: inline-block;
  50. }
  51. .qrc {
  52. width: 30px;
  53. height: 30px;
  54. margin-top: 1px;
  55. }
  56. body {
  57. /* Set "my-sec-counter" to 0 */
  58. counter-reset: my-sec-counter;
  59. }
  60. span::before {
  61. /* Increment "my-sec-counter" by 1 */
  62. counter-increment: my-sec-counter;
  63. content: "[" counter(my-sec-counter) "]";
  64. }
  65. </style>
  66. </head>
  67.  
  68.  
  69. <table class="voucher" style="margin:0 4px 10px 2px;width: 177px;">
  70. <tbody>
  71. <tr>
  72. <td style="text-align: left; font-size: 14px; font-weight:bold; border-bottom: 1px black solid;">RNET Hotspot<span id="num"></span>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td>
  77. <table style="text-align: center; width: 167px;">
  78. <tbody>
  79. <tr style="color: black; font-size: 11px;">
  80. <td>
  81. <table style="width:100%;">
  82. <tr>
  83. <td>kode voucher</td>
  84. </tr>
  85. <tr style="color: black; font-size: 14px;">
  86. <td style="width:100%; border: 2px dashed black; font-weight:bold; border-radius: 2px;padding:2px">%u_username%</td>
  87. </tr>
  88. <tr>
  89. <td style="width:100%; border: 1px solid black; font-weight:bold;">%u_actualProfileName%</td>
  90. </tr>
  91. <tr>
  92. <td style="font-family: Andale Mono; width:100%; border: 1px solid black; font-weight: bold;">Login: http://rnet.net</td>
  93. </tr>
  94. </table>
  95. </td>
  96. </tr>
  97. </tbody>
  98. </table>
  99. </td>
  100. </tr>
  101. </tbody>
  102. </table>
  103.  
  104.  
  105. </body></html>
  106.  
  107.  
  108. <p class="noprint" style="font-size: 10px"> ................ page break ................ </p> <p class="pagebreak">&nbsp;</p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement