I’ve searched and have yet to find any mention of this, so excuse me if this is already public knowledge.
It appears as though IE7 applies the min-width
value as width
on input
elements with type
attribute values of button
, reset
, and submit
.
Example: https://steve.ganz.name/examples/Forms/min-width-input.html
According to the CSS 2.1 specification, min-width
can be applied to all elements but non-replaced inline elements, table rows, and row groups
. As far as I can tell, the input element is a replaced element so min-width should apply.
Ganz, where did all of this come from, man? Silence for months, then a barrage of enlightenment! Sounds like your trip lit your fire! Keep it up, and I look forward to more. Take care.
Ha! Actually, it’s just that I forgot to redirect my old Movable Type feed when I migrated over to WordPress.
You’ll find that my min-height fast hack works the same for min-width. Check it out: http://www.dustindiaz.com/min-height-fast-hack
@Dustin, unfortunately your hack doesn’t seem to have the desired effect when it comes to this particular bug, which is unique to
input type = submit|button|reset
in IE7.