Reputation: 21406
I have a table containing many rows. I can allow a change in row height to fill the contents, but I want to keep my cell width fixed. Setting a max-width
to cell solves the problem, but the content over flows to the next cell.. Can anybody have a solution in html/css or something else?
Upvotes: 2
Views: 4947
Reputation: 4427
In addition to max-width
, set overflow: hidden;
. See http://jsfiddle.net/andyedinborough/nq7rA/1/
Upvotes: 2