{"id":67,"date":"2006-10-19T23:14:18","date_gmt":"2006-10-19T23:14:18","guid":{"rendered":"https:\/\/steveganz.org\/blog\/2006\/10\/ie7-bug-min-width-input.html"},"modified":"2013-03-14T20:28:28","modified_gmt":"2013-03-14T20:28:28","slug":"ie7-bug-min-width-input","status":"publish","type":"post","link":"https:\/\/steveganz.org\/blog\/2006\/10\/ie7-bug-min-width-input.html","title":{"rendered":"IE7 Bug: min-width input"},"content":{"rendered":"<p>I&#8217;ve searched and have yet to find any mention of this, so excuse me if this is already public knowledge.<\/p>\n<p>It appears as though IE7 applies the <code>min-width<\/code> value as <code>width<\/code> on <code>input<\/code> elements with <code>type<\/code> attribute values of <code>button<\/code>, <code>reset<\/code>, and <code>submit<\/code>.<\/p>\n<p><strong>Example<\/strong>: <a href=\"https:\/\/steve.ganz.name\/examples\/Forms\/min-width-input.html\">https:\/\/steve.ganz.name\/examples\/Forms\/min-width-input.html<\/a><\/p>\n<p>According to the <a href=\"http:\/\/www.w3.org\/TR\/CSS21\/visudet.html#min-max-widths\"><cite>CSS 2.1 specification<\/cite><\/a>, <code>min-width<\/code> can be applied to <q>all elements but non-replaced inline elements, table rows, and row groups<\/q>. As far as I can tell, the input element is a replaced element so min-width should apply.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":5,"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":129,"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/posts\/67\/revisions\/129"}],"wp:attachment":[{"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/steveganz.org\/blog\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}