|
Posted by gerg on 03/13/06 23:21
Jukka K. Korpela wrote:
>>I have a form in which I want all the form elements to be in a strait
>>line IE:
>>
>>Username: <input box> Password: <input box> <submit button>
>
>
> Stop wanting that. Such a layout reduces accessibility. Put one field,
> together with its label, on one line.
Thank you, that's very helpful. How does it reduce accessibility?
> Yes you can. You don't put each element in a block of its own. That would
> actually be against the idea of block. You can wrap all the stuff inside a
> single <div> or, more reasonably, use
> <div>Username: <input ...></div>
> <div>Password: <input ...></div>
> <div>submit button</div>
If I do the <div>username <input..></div> i get the stacked layout,
which is not what I WANT. Aside from "stop wanting that" is there any
other advice you could offer?
Thanks in advance.
Greg
Navigation:
[Reply to this message]
|