On Sat, May 3, 2008 at 8:48 PM, Michael Adams
<[EMAIL PROTECTED]> wrote:
>  But the same code is much cleaner without the table

Ahh, I knew that was coming. I've tried creating forms without tables
but I could never get the data to line up into ... well ... a table.
And AFAICT your examples don't either. There's no arguing that it's
cleaner not having form elements woven into a mess of td elements but
anything else just doesn't give the desired effect. So am I missing
something here?

>  <div id="accountinfo">
>    <h3>Account Information</h3>
>    <label>Username:</label>abaker<br>
>    <label>Email Address:</label>[EMAIL PROTECTED]<br>
>    <label>Full Name:</label>abaker
>  </div>
>
>  Really i shouldn't be promoting label use here as <label> is for form
>  labels. We should instead use a definition list as it is appropriate.
>  The enclosing div is then redundant.
>
>  <h3 id="account">Account Information</h3>
>  <dl id="info">
>    <dt>Username:</dt><dd>abaker</dd>
>    <dt>Email Address:</dt><dd>[EMAIL PROTECTED]</dd>
>    <dt>Full Name:</dt><dd>abaker</dd>
>  </dl>

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to