1. Computing

Style Forms with CSS Examples

How Forms Look When Styled with CSS

When you style forms with CSS, you are creating forms that look good and match the design of your website. HTML forms are, when not styled, one of the ugliest things on the web. But with CSS you can style forms to look good and add interest to your site and make people want to fill out the forms. From the article: Style Forms with CSS.

Style Forms Using Background Colors

By adding a background color to the input tag you can make your forms more visually interesting.

Don't Forget to Add Background Colors to Your Textarea and Select Tags

The textarea and select tags are not input tags, and so won't have background colors if you don't add them to the style sheet.

Be Careful When Styling Forms with Dark Background Colors

Which text field is easier to read?

Return to the Style Forms with CSS article.


Style Your Form by Adding Styles to the FORM Tag

This form has a yellow background color that helps it stand out from the rest of the page.

Or Style the Border of Your Form

And this form has a solid black border surrounding it.

Return to the Style Forms with CSS article.


Style Forms by Styling the Input Box Borders

Adding fancy borders to the edges of your input boxes can make the form fields look more interesting.

Even the submit button border can be changed.

Return to the Style Forms with CSS article.


Putting All the Form Styles Together

Using CSS you can give people suggestions for what to click on, what values you'd appreciate, and make the form look so much better.

Please rate this site:
Excellent Good Fair Poor

Return to the Style Forms with CSS article.


Discuss in my forum

©2013 About.com. All rights reserved.