O
Owen Brunker
Adrienne Boswell said:Gazing into my crystal ball I observed "Owen Brunker"
<[email protected]> writing in
<form method="post" action="whatever">
<fieldset><legend>Section or form title</legend>
<label for="field1" id="field11">Field1 </label> <input type="text"
name="field1" id="field1"><br>
<label for="field2" id="field21">Field2 </label> <input type="text"
name="field2" id="field2"><br>
<input type="submit" value="Submit">
</fieldset>
</form>
CSS:
label {display:block; float:left; width: 7em; text-align: right; margin-
right:1em;}
form br {clear:left}
With scripting, you can give the user a visual indication that a
required field is missing, like so:
Thankyou thankyou thankyou. I like it very much. Reading your post also
prompted me to google "css display block". What I have learned has been a
great help.
Cheers
Owen Brunker