W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2005

Re: Tables or CSS for forms?

From: Jens Meiert <jens.meiert@erde3.com>
Date: Mon, 26 Sep 2005 19:29:46 +0200 (MEST)
To: w3c-wai-ig@w3.org
Message-ID: <31501.1127755786@www40.gmx.net>

Huh, I'm late, ain't I?

> Tables or CSS for forms?

IMHO, it depends. A complex form might by all means be realized with a
(simple) table, as long as the structure is and remains clear. But, a simple
form for a blog comment, for example, could be easily marked up via

  <form>
    <fieldset>
      <legend />
      <label>Foo</label>
      <input />
      <label>Bar</label>
      <input />
      <label>Baz</label>
      <textarea />
    </fieldset>
  </form>

and styled via

  label { display: block; }

I note this because this simple kind of styling is often overlooked.


Regards,
 Jens.


-- 
Jens Meiert
Information Architect

http://meiert.com/
Received on Monday, 26 September 2005 17:32:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:22 GMT