/ Published in: CSS
this snippet is for this html structure
%form
%ol
%li
%label Label:
%input
%form
%ol
%li
%label Label:
%input
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
li { display: inline-block; line-height: 0; } label { display: inline-block; line-height: 1.5em; vertical-align: middle; } input { display: inline-block; vertical-align: middle; }