Can we separate form elements onto individual lines without enclosing them within divs?
For example:
<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>
...
Desired display format:
One: [.......]
Two: [a \/]
and so on...
If applying CSS:
input, select, label {
display:block;
}
The labels and form fields are not aligned on the same line. Is there an alternative solution beyond using divs like this:
<div><label for="one">One:</label> <input type="text" id="one"></div>
...