Why do Safari and Chrome ignore min-width CSS property? Example http://jsfiddle.net/8YFHu/2/ This works in IE and Firefox but not in Safari and Chrome.
Why do Safari and Chrome ignore min-width CSS property? Example http://jsfiddle.net/8YFHu/2/ This works in
Share
Chrome and Safari simply do not support the
min-widthproperty ontableelements. They will, however, respectmin-widthwhen applied to table cells.After some quick testing, it appears that support is as follows:
More information can be found in the MDN article on the property, although the article claims that the property is not supported in IE, even though it is since IE8.
The CSS2.1 specification states that
min-width(andmax-widthfor that matter) apply to:So it would seem that Chrome and Safari are the ones not conforming to the standard.
Edit
Having just looked a bit further down the relevant section of the spec, I noticed it then states:
So it actually looks like no-one got it wrong, and everyone can just do their own thing.