The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

noob help! input field not lining up

I want the input username, password, remember me to be in one line, lined up in to right hand corner. That's not what I am getting. All the input forms are one line at the top left hand corner. Here is my html and css code.

Add a text-align: left; to "login-form". Plus if you want it in the corner, you'll need to reduce the width [width: 150px;], go ahead and add a vertical-align: top; just to be sure it's staying at the top.

Each element in your design should have a it's own div, don't combine. So this div will only be for the login area, which should have a small width.