Give table columns equal width using CSS

Posted Over 12 years ago. Visible to the public.

If you want to distribute a <table>'s width equally over its columns, you can use the following CSS property:

table-layout: fixed

It is supported by every browser ever Show archive.org snapshot .

Henning Koch
Last edit
About 12 years ago
Keywords
td, th
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2011-10-25 11:40)