Re: Tables or CSS for forms?

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 UTC