body * {
    visibility: hidden;
}

table,
table * {
    visibility: visible;
}

body {
    position: relative;
}

table {
    position: absolute;
    top: -1050px;
    width: 100%;
}

table th,
table td,
table tr {
    border: 2px solid black;
    padding: 8px;
}

table th {
    font-weight: bold;
    background-color: #f2f2f2;
}