[thelist] lining up forms using CSS

Kevin p+evolt at redbrick.dcu.ie
Sat Nov 16 08:12:01 CST 2002


On Fri, Nov 15, 2002 at 11:44:35AM -0800, Tom Dell'Aringa wrote:
> Hey all,
>
> I would have asked this on css-discuss but I guess the list is having
> some problems. Anyway, if you are not using tables but CSS instead,
> what are your favorite ways of lining up a form. For example, if you
> had:
>
> +---------+-------------+
> | name:   | [ field ]   |
> | phone:  | [ field ]   |
> | zip:    | [ field ]   |
> +---------+-------------+

One method that is popular, is using definition lists.

Although not semantically great, it does the job. (:

- Kevin



More information about the thelist mailing list