Style a login form
|
Author: Mattias (mattias@999tutorials.com) Categories: General www, CSS |
|
|
|
The tutorial: Digg this, Post to del.icio.us, The old way...Login forms are pretty usual at web sites, but they are very often very bad looking... This is a good example on a standard way to do a login form. (Don't worry, we will make this form look better soon...)
It doesn't look that sexy, right?! :-( We make it look better A simple thing is to put the form on one row, like this: What about a little color and stuff like this?
Nothing hard, but it directly looks so much better. The next thing we do is style the inputs and the submit button with this style sheet: #login .theInput { And make some small changes to the html, adding classes to the inputs and button: The result looks like this: It's beautiful right :-) There are so many more things you can do, but start playing around with this form and create your own designs. Small things like changing the standard text fonts and sizes make big differences. It directly looks more professional. You can also replace the submit button with an image for creating even more unique design. Until next time... happy form-ing! Digg this, Post to del.icio.us, |

