Table
A responsive screen container and print contract for native semantic tables, including repeated-header intent, row break avoidance, wrapping, and numeric alignment.
Capability note. Very wide tables still need an authored strategy such as a landscape named page. Folio will not shrink text to illegibility.
Data table
Keep caption, thead, tbody, th, and td as native table semantics.
On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.
View HTML
<ef-print-table>
<table>
<caption>Quarterly results</caption>
<thead><tr><th>Quarter</th><th data-align='number'>Revenue</th></tr></thead>
<tbody><tr><td>Q1</td><td data-align='number'>$125,000</td></tr><tr><td>Q2</td><td data-align='number'>$148,000</td></tr></tbody>
</table>
</ef-print-table>
Long text cells
Cells wrap rather than clipping or forcing unreadably small type.
On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.
View HTML
<ef-print-table>
<table>
<thead><tr><th>Finding</th><th>Interpretation</th></tr></thead>
<tbody><tr><td>Renderer variation</td><td>Physical pagination can change with fonts, browser version, page size, and content.</td></tr></tbody>
</table>
</ef-print-table>
Wide comparison
On narrow screens the wrapper contains horizontal scrolling; print keeps the actual table available for an authored page strategy.
On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.
View HTML
<ef-print-table style='--ef-print-table-screen-min-width:42rem'>
<table>
<thead><tr><th>Renderer</th><th>Margins</th><th>Counters</th><th>Footnotes</th><th>Bleed</th></tr></thead>
<tbody><tr><td>Portable browser</td><td>Basic</td><td>Varies</td><td>No guarantee</td><td>No guarantee</td></tr></tbody>
</table>
</ef-print-table>