Kevin Schaul
Kevin Schaul

Visual journalist/hacker covering AI

Control HTML table widths with table-layout: fixed;

Just learned about the CSS property table-layout: fixed; that makes HTML table column widths follow sane rules. They will actually respect the width values you give them.

There are a lot of great usage examples on this css tricks post from … 2014. How did I not know about this?