table.invoice{ width: 100%; } table.invoice th td{ font-weight: normal; } table.invoice td{ padding-left: 5px; } table.invoice, table.invoice table.invoiceHeadTable { border-collapse: collapse; border-spacing: 0px; } table.invoice td,th{ border: 1px solid; } table.invoiceHeadTable{ border: none; } table.invoice tr.ProductHeadRow{ background-color: #e7e7e7; text-align: center; } table.invoice thead tr.orderIdRow{ background-color: #e7e7e7; } table.invoice tbody td:nth-child(3),td:nth-child(4),td:nth-child(5),td:nth-child(6),td:nth-child(7),td:nth-child(8){ text-align: center; } /* table.invoice tbody td:nth-child(3),td:nth-child(4),td:nth-child(5){ text-align: center; } table.invoice tbody td:nth-child(6),td:nth-child(7){ text-align: right; } */ table.invoice tr.invoiceSumRow{ text-align: right; } @media only screen { /* button.printButton{ display: inline; float: right; } */ } @media print { body {-webkit-print-color-adjust: exact;} button.printButton{ display: none; } }