Jump to content
xisto Community
sonesay

Align Text Column Without Tables Using Css Is it possible to get a 3 column alignment without using tables with C

Recommended Posts

align-text-column-tables-cssAlign Text Column Without Tables Using Css

I use the following to line up the text boxes. Your text line " Mgmt IP Address (If Static):" is the longest so you need to expand width accordingly if you want them all lined up.

CSS: 

label span {  float: left;  width: 10em;}

<label for="bmail"><span>Your Email:</span></label> <input name = 'bmail' size=35 value='' /><br><label for="bname"><span>Your Name :</span></label>   <input name = 'bname' size=35 value=''><br>

-reply by Richard Wimberly

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.