How can I align the left edge of HTML form elements using CSS?
- by Naor
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.