Set {overflow:auto} in IE6/7 for <button> and <input> inside <table>. Fix #18

This commit is contained in:
Nicolas Gallagher 2011-07-12 12:52:07 +02:00
parent 1d174f1013
commit 9576d48fc2

12
normalize.css vendored
View File

@ -1,4 +1,4 @@
/*! normalize.css 2011-07-12T10:28 UTC · http://github.com/necolas/normalize.css */ /*! normalize.css 2011-07-12T10:51 UTC · http://github.com/necolas/normalize.css */
/* ============================================================================= /* =============================================================================
HTML5 element display HTML5 element display
@ -335,6 +335,16 @@ input {
*overflow: visible; /* 2 */ *overflow: visible; /* 2 */
} }
/*
* Corrects overlap and whitespace issue for buttons and inputs in IE6/7
* Known issue: reintroduces inner spacing
*/
table button,
table input {
*overflow: auto;
}
/* /*
* 1. Improves usability and consistency of cursor style between image-type 'input' and others * 1. Improves usability and consistency of cursor style between image-type 'input' and others
* 2. Corrects inability to style clickable 'input' types in iOS * 2. Corrects inability to style clickable 'input' types in iOS