How to Style a Form Label
Web page form labels are an essential element of the form. They identify for the user what should be inputted or checked in order to complete the form. You can make your form more attractive by using CSS to style the form elements, including the label element. Here are steps to styling a form label.
Instructions
-
- 1
- 2
-
-
3
There are many CSS rules that can be applied to the label element. Let's look at a few.
- 4
- 5
- 6
- 7
- 8
-
9
Rules for borders, line spacing, font size and other CSS properties could be added as well, depending on the appearance of the page and the items in the form. As you can see, any property that can be used in CSS can be used to style the label element.
Comments
-
Virginia DeBolt
Jun 05, 2009
xrayness, thanks for noticing that I was an eHow Member of the Day. I hope it happens to you one of these days, too. -
xrayness
Jun 05, 2009
Dear Virginia: First, let me congratulate you on being named eHow Member of the Day. I loved reading your article and hope you contribute even more. -
GreenMomma
Jun 05, 2009
Those are great tips! -
edieness
Jun 05, 2009
Your article list is a wealth of information. REC.