CSS:
/* Force table to not be like tables anymore */
table, thead, tbody, th, td, tr {
display: block;
}
/* Hide table headers (but not display: none;, for accessibility) */
#content table tr.thead {
position: absolute;
top: -9999px;
left: -9999px;
}
#content table td {
/* Behave like a “row” */
position: relative;
padding-left: 0%;
}
#content table td:before {
/* Now like a table header */
position: absolute;
/* Top/left values mimic padding */
top: 0px;
left: 0px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
}
class=”wp-image-2629