Do you have a question? Post it now! No Registration Necessary. Now with pictures!
February 10, 2006, 9:28 pm
rate this thread
- Jukka K. Korpela
February 11, 2006, 1:34 pm
Re: easy form layout question
Layout is basically a matter of CSS, not HTML. This is c.i.w.a.html, not
c.i.w.a.stylesheets. Admittedly, you _could_ do some simple layout in
HTML, and, somewhat debatably, this is also about structure.
That would break users' expectations. That's not the way things are
commonly presented. Besides, it would confuse people who use simple
speech-based user agents that read line by line and ignore <label> markup.
What you _should_ want is
and a way to achieve this is
<form action="..." method="post">
<td><input id="username" type="text" name="login"></td></tr>
<td><input id="pwd" type="text" name="password"></td></tr>
If you really want the layout you describe, the table approach can be
used with obvious modifications.