Hi there
Any tips on dealing with very wide tables? Is it possible to tell prince to print my table sideways?
Any tips on dealing with very wide tables? Is it possible to tell prince to print my table sideways?
@page sideways { size: landscape }
table.big { page: sideways }
...
<table class="big">
this table will be placed on a landscape page
</table>
You can place the table on a landscape page:
h3#physical_disk_details__section {
page: sideways;
page-break-before: always;
}
a[name="physical_disk_details__table"] ~ p {
page: sideways;
page-break-before: avoid;
page-break-after: avoid;
}
a[name="physical_disk_details__table"] ~ div.table-contents {
page: sideways;
page-break-before: avoid;
page-break-after: always;
}
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title" id="physical_disk_details__section">7.2. Physical disk details</h3>
</div>
</div>
</div>
<div class="table">
<a name="physical_disk_details__table"></a>
<p class="title"><b>Table 10. Physical disk details</b></p>
<div class="table-contents">
<table summary="Physical disk details" border="1">