Applying CSS to forms

10515 Users read it.
by Trenton Moss (July 27, 2004)
Learn how to lay out and format your forms with the power of CSS.

Read it at the external site...

User Rating (18 votes)
1 review available | Read the reviews »
Technologies:CSS

Forms are an essential part of interaction on the Internet but they can look rather drab. With CSS we can position form items so they all line up nicely and add a bit of colour to jazz them up.

 

Using only this simple code we'll learn how to make a form that looks great and is inline with our colour scheme:

 

<form action="destination.htm">

<label for="name">Name</label>

<input type="text" id="name" /><br />

<label for="e-mail">E-mail</label>

<input type="text" id="e-mail" /><br />

<input type="submit" value="submit" />

</form>

 

 

 

User Reviews

Total of 1 review
does not display as advertised
Written by Durwood Edwards on August 13, 2004

Loading the CSS and the HTML code into my DW MX2004, I am unable to reproduce the forrm in Firefox (PC) or IE 6X (PC) as displayed in the tutorial. It takes considerable jacking around with the code before I get anything close. The tutorial is ...

Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency