CHAPTER 5 OF 5

5. Styling and testing

Your goal: keep the structure useful after styling and publishing.

Style the existing structure

Use CSS for spacing, borders, colors, and text. Keep the HTML table elements and header relationships in place. A small table can wrap its text; a wider table may need a locally scrollable container.

On this site, literal colors belong in a stylesheet's :root palette. The rules below reference named variables rather than repeating color values.

CSS excerpt (the palette is defined in guides.css)
.workshop-table { width: 100%; border-collapse: collapse; color: var(--guide-ink); } .workshop-table th, .workshop-table td { padding: 12px; border: 1px solid var(--guide-line); text-align: left; }

Check the finished table

The finished example

Both workshops take place at the community center. Times are local.

This reference preview includes the header relationships and caption explained across the chapters.

Community workshop schedule
Workshop Day Time
Introduction to accessible documents Tuesday 10:00 a.m.
Creating accessible tables Thursday 2:00 p.m.
Sources and further reading