mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Set {overflow:auto} in IE6/7 for <button> and <input> inside <table>. Fix #18
This commit is contained in:
parent
1d174f1013
commit
9576d48fc2
12
normalize.css
vendored
12
normalize.css
vendored
@ -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
|
||||
@ -335,6 +335,16 @@ input {
|
||||
*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
|
||||
* 2. Corrects inability to style clickable 'input' types in iOS
|
||||
|
Loading…
Reference in New Issue
Block a user