separate IE support on forms

This commit is contained in:
Raphael Goetter 2014-05-03 14:23:39 +02:00
parent 504dc59501
commit 28a6ad32f1
2 changed files with 9 additions and 5 deletions

View file

@ -37,7 +37,6 @@ legend {
white-space: normal; white-space: normal;
} }
textarea { textarea {
overflow: auto; /* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
min-height: 5em; min-height: 5em;
vertical-align: top; vertical-align: top;
font-family: inherit; font-family: inherit;
@ -51,10 +50,6 @@ input[type="submit"] {
cursor: pointer; cursor: pointer;
-webkit-appearance: button; /* clickable input types in iOS */ -webkit-appearance: button; /* clickable input types in iOS */
} }
input[type="checkbox"],
input[type="radio"] {
padding: 0; /* Corrects excess space around these inputs in IE8/9 */
}
input[type="search"] { input[type="search"] {
-webkit-appearance: textfield; -webkit-appearance: textfield;
} }

View file

@ -75,6 +75,15 @@
*display: inline; *display: inline;
*zoom: 1; *zoom: 1;
} }
/* forms */
input[type="checkbox"],
input[type="radio"] {
padding: 0; /* Corrects excess space around these inputs in IE8/9 */
}
textarea {
overflow: auto; /* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
}
/* Active box-sizing for IE6/IE7 */ /* Active box-sizing for IE6/IE7 */
/* @source https://github.com/Schepp/box-sizing-polyfill */ /* @source https://github.com/Schepp/box-sizing-polyfill */