For my input, which can either have classname="half"
or "half.not-placeholder-value"
, Firebug shows both inputs to have a set, fixed width of 25em
.
input.half, input.half.not-placeholder-value {
max-width: 25em;
}
Yet, according to Developer Tools, IE8 doesn't seem to use this particular max-width
attribute. I say "doesn't seem to use" since Firefox's behavior differs with IE8 with respect to this attribute.
But the MDN docs say that IE7 supports max-width
. Am I missing something?
max-width
makes sense without any kind of variable width (such aswidth:100%
)