Monday, October 24, 2011

CSS word-wrap in table

When

word-wrap: break-word;

is applied to table cell, it does seems to wrap anything.
If you want to make it work, just add

table-layout:fixed;

to table definition and it works nicely.

No comments:

Post a Comment