How can I align the left edge of HTML form elements using CSS?
Posted
by
Naor
on Stack Overflow
See other posts from Stack Overflow
or by Naor
Published on 2011-01-05T18:32:37Z
Indexed on
2011/01/05
18:54 UTC
Read the original article
Hit count: 237
I want to do the following:
aa: ________
bbbb: ________
ccc: ________
So I wrote:
<span>aa:</span><input type="text" /><br/>
<span>bbbb:</span><input type="text" /><br/>
<span>cc:</span><input type="text" />
And I get:
aa:________
bbbb:________
ccc:________
I know I can arrange it easy with table. How do I do it without tables with as few css as I can.
Thanks.
© Stack Overflow or respective owner