Each form element <label>+<input> on new line without <div>

Viewed 44114

Is there a solution to move each form element on a new line without closing these elements on divs?

I mean:

<label for="one">One:</label>  <input type="text" id="one">
<label for="two">Two:</label>  <select id="two">
                                  <option value="a">a</option>
                                  <option value="b">b</option>
                               </select>
...

To display:

One:   [.......]
Two:   [a    \/]
and so on...

If I put on CSS:

input, select, label {
   display:block;
}

then labels are not on the same line as the form fields.

Is the only solution:

<div><label for="one">One:</label>  <input type="text" id="one"></div>
...
3 Answers
Related