PhoxKiD PhoxKiD - 1 year ago 128
CSS Question

Align input type range with other elements

Is there more reliable way to align this?

input[type=text] {
position: relative;
top: -5px;

<input type="range">
<input type="text">

Answer Source

Just set the range vertical align to middle

input[type=range] {
    vertical-align: middle

<input type="range">

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download