Return to Snippet

Revision: 59643
at September 21, 2012 22:55 by Merstzik


Initial Code
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;
}

Initial URL


Initial Description
this snippet is for this html structure

    %form
      %ol
        %li
          %label Label:
          %input

Initial Title
vertical alignment in forms with multiline labels (horizontal placement label - input)

Initial Tags
form

Initial Language
CSS