user2743874
user2743874

Reputation: 13

Text all on one line causes problems with table-cell

The text all on one line causes several errors, is not considered the width of the table, and even that of a cell (#tablecell-b, 70px) even with overflow: hidden.

JSFiddle: http://jsfiddle.net/8PxJD/

Upvotes: 1

Views: 51

Answers (1)

C3roe
C3roe

Reputation: 96275

The algorithms for table layout and their width calculations described in the CSS specs are quite complex – so it won’t always work as you want to.

But ins this case, it should be fixable quite easy – by adding table-layout:fixed for the table element, see jsfiddle.

Upvotes: 1

Related Questions