Drake, Ted C. said:
> A fieldset should contain a set of similar inputs[...] It would defeat
> the coordinating purpose to use a fieldset randomly to create rows or
> columns.

Agreed, you are absolutely correct. Doh! I didn't acutally check the
source code, no wonder my earlier post was confusing. Sorry Derek.

If anyone *is* interested in replicating Dereks layout without the extra
div's try this:

<html>
<style>
label {
  display:block;
  width: 10em;
  position:relative;
  padding: 0.2em;
}
input {
  position: absolute;
  left: 11em;
  width: 15em;
}
label em {
  position: absolute;
  left:23em;
  width: 100%;
  color: red;
}
</style>

<form>
<fieldset>
  <legend>User Details</legend>
    <label for="uname">Username
      <em>must not contain spaces</em>
      <input id="uname" type="text" name="uname" value="" />
    </label>
    <label for="email">Email Address
      <input id="email" type="text" name="email" value="" />
    </label>
    <label for="fname">First Name
      <em>must not be blank</em>
      <input id="fname" type="text" name="fname" value="" />
    </label>
    <label for="lname">Last Name
      <input id="lname" type="text" name="lname" value="" />
    </label>
  </fieldset>
</form>
</html>


-- 
kind regards
Terrence Wood.



******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to