Makes inputs and buttons align middle so they line up in all browsers

This commit is contained in:
Pete Hopkins
2012-01-26 16:02:27 -05:00
parent f76444c858
commit b9413460af
3 changed files with 9 additions and 9 deletions

View File

@@ -119,7 +119,6 @@ input[type=file] {
// Chrome on Linux and Mobile Safari need background-color
select {
width: 220px; // default input width + 10px of padding that doesn't get applied
vertical-align: baseline;
background-color: @white;
}
@@ -377,9 +376,9 @@ select:focus:required:invalid {
}
.help-inline {
*position: relative; /* IE6-7 */
*top: -5px; /* IE6-7 */
display: inline;
display: inline-block;
margin-bottom: 9px;
vertical-align: middle;
padding-left: 5px;
}
@@ -469,6 +468,7 @@ select:focus:required:invalid {
input,
textarea,
select,
.help-inline,
.uneditable-input {
display: inline-block;
margin-bottom: 0;