visaal said on December 06, 2011

Hi bad solution

Radu said on February 15, 2012

Hi Jonathan,

I have a similar problem with IE 9 (previous IEs as well I suppose).

I have a table with just two columns, one that should be limited to, say 50px, and the other expand the rest of the table. For white-space normal everything works ok, but I need white-space: nowrap. IE just does not want to obey the max-width property in this case.

Here is the jsfiddle http://jsfiddle.net/yCWjj/2/

Do you have a suggestion?
I would appreciate any feedback.

Thank you

Jonathan Snook said on February 16, 2012

Yea, with tables, you get different behaviour. In fact, I'm surprised that your table is @Radu: rendering okay in all the other browsers. The way I've fixed this in the past is to put the contents in a div and set the overflow on that.

stefan said on March 29, 2012

This was a great find, thank you! I like the sollution I couldn't quite come up with a better one myself as fast :)

Dave said on April 16, 2012

Ran into this bad boy, thanks for the fix and explanation!

Chandima said on January 22, 2013

This solutions is not working for me.. I am using IE 9

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.