Code:
label {
display: inline-block;
width: 100px;
}
Code:
<form>
<fieldset>
<legend>Personalia:</legend>
<label>Name:</label> <input type="text" /><br />
<label>Email:</label> <input type="text" /><br />
<label>Date of birth:</label> <input type="text" />
</fieldset>
</form>
EDIT: Just fixed a
<label> tag, I was missing a
"/". It is working correctly now.