Skip to content

Responsive table

A responsive table is a data table that stays readable on small screens, usually by stacking each row as a card or by scrolling sideways inside its own box.

Xodia's tables turn each row into a card with its column's headings on phones, or scroll sideways, as you choose. Read the guide: add a table to your website

Start free

Updated

On this page

What it is

A table with several columns is wider than a phone. Shrunk to fit, its text becomes too small to read; left as it is, it pushes the whole page sideways.

There are two common fixes. Cards stack each row on its own, with each cell's column heading written above its value, so nothing needs a sideways scroll. Scrolling keeps the columns and lets just the table scroll sideways, which suits tables that are read across, such as timetables.

Either way the table should stay a real table in the code, with its header row marked, so screen readers and search engines can read it.

In Xodia

A Table added from Add elements starts as cards below the Tablet size. The Style panel's Table group switches Small screens between Cards and Scroll and sets from which size the cards start: small phones, phones, or phones and tablets. Xodia gives each cell its column's heading for the cards in the same step.

All sizes shows the phone page beside the one you edit, so you see the cards as you change the table, and a Collection table filled from Xodia CMS turns into cards the same way.

Read more

See every term in the glossary