mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Add vertical-align:baseline to form elements
This commit is contained in:
parent
6ed1d6f7e5
commit
9f821f06e3
8
normalize.css
vendored
8
normalize.css
vendored
@ -230,15 +230,21 @@ legend {
|
||||
}
|
||||
|
||||
/*
|
||||
* 1.
|
||||
* Remove margin from form elements
|
||||
* Fixes margin displayed oddly in C10 S5
|
||||
* 2.
|
||||
* Define vertical-align for form elements
|
||||
* Fixes alignment in IE and <textarea> alignment in FF3/4
|
||||
*
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
margin: 0;
|
||||
margin: 0; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user