I have an HTML form element:
<form action="doit" id="doit" method="post">
Name <br/>
<input id="name" name="name" type="text" /> <br/>
Phone number <br/>
<input id="phone" name="phone" type="text" /> <br/>
Year <br/>
<input id="year" name="year" type="text" /> <br/>
</form>
I would like there to be a little more space between the fields, for example, between the lines
<input id="name" name="name" type="text" /> <br/>
and
Phone number <br/>
,
and also between
<input id="phone" name="phone" type="text" /> <br/>
and Year <br/>
.
How can I do it?
I would wrap your rows in labels
And use
Don't use
br
s for spacing!Demo: http://jsfiddle.net/D8W2Q/
A simple
 
; between input fields would do the job easily...In your CSS file: