Book
Submodule 9.2: The CSS of forms
Submodule 9.2: The CSS of forms
Completion requirements
View
- fieldset
- submit input
- required attribute
The fieldset
The below CSS rules are define the appearance of the fieldset
. Using CSS we can change both the display of the automatically created box and the appearance of the text contained in this field.
The CSS rules:
#fieldset {
color: #6E3F19;
font-size:1.2 em;
font-weight: bold;
background: #F5F5DC;
}
/*....*/
<fieldset id="fieldset">
/*your code goes here*/
</fieldset>
will create a page displayed as: