Give table columns equal width using CSS

Updated . Posted . 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 .

Profile picture of Henning Koch
Henning Koch
Last edit
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)