Clive Portman: code

Table not displaying correctly when exporting HTML to PDF using DOMPDF

As part of my CSS resets I use the following:

*, *:before, *:after {
  -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}

But after having problems with the display of tables, I've made it screen only with the code below. The problem was the first data column was sitting below the second heading column.

@media only print {
*, *:before, *:after {
  -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
}