have table columns size to largest item

By Jason Herrington on 6 Jan

not sure if there is already a way to do this, but have table columns size to the width of the largest/longest item in them.  This would be very handy if you don't really want a table to take up the full width of the page, just size to fit whatever is in the columns.

Why not set the width to 1px and then white-space: nowrap? I think that does what you want. Don't see CSS as a platform feature.

J.Ja