How do I line up my textboxes without using a table? html/css

Posted by SLC on Stack Overflow See other posts from Stack Overflow or by SLC
Published on 2009-10-30T12:25:47Z Indexed on 2010/05/06 22:18 UTC
Read the original article Hit count: 144

Filed under:
|

I want to display

Name [Textbox]

Age: [Textbox]

BlahBlahCatfish: [Textbox]

but if I simply plonk the code in, it gets lined up exactly as its lined up above.

What I want is for it to be lined up like this:

Name:            [Textbox]
Age:             [Textbox]
BlahBlahCatfish: [Textbox]

Ordinarly I would use a Table but I am trying to get out of that habit and use lovely CSS. Ideas of how to do this without billions of divs and stuff?

© Stack Overflow or respective owner

Related posts about html

Related posts about css