Reputation: 741
I have two fieldsets in one form who are displayed inline. They appear next to each other, but they are aligned at the bottom rather than at the top. It looks like this:
This is the html:
<form action='php/register.php' method='post'>
<fieldset>
<label for='txtfirstName'>Voornaam*</label>
<input id='txtfirstName' name='firstname' type='text' value='$firstname'>
</fieldset>
<fieldset>
<label for='txtfirstName'>Voornaam*</label>
<input id='txtfirstName' name='firstname' type='text' value='$firstname'>
</fieldset>
</form>
And the css:
fieldset {
display:inline;
border:none;
}
Upvotes: 1
Views: 4014