no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | development:css:resize_cell [2019/10/31 09:04] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Resize table cell to content using CSS ====== | ||
+ | If you wish to resize a table cell to fit its content, use the following CSS code: | ||
+ | <code css> | ||
+ | td {width:1%; white-space: | ||
+ | </ | ||
+ | Be sure to have at least one free size cell if the table has defined width |