Add vertical-align:baseline to form elements

This commit is contained in:
Nicolas Gallagher 2011-05-17 02:39:30 -07:00
parent f28538a363
commit b8f2b7b34e

4
normalize.css vendored
View File

@ -214,8 +214,9 @@ legend {
} }
/* /*
* Remove margin from form elements * 1. Remove margin from form elements
* Fixes margin displayed oddly in C10 S5 * Fixes margin displayed oddly in C10 S5
* 2. Define consistent vertical alignment in all browsers
*/ */
button, button,
@ -223,6 +224,7 @@ input,
select, select,
textarea { textarea {
margin: 0; margin: 0;
vertical-align: baseline;
} }
/* /*