Submodule 9.2: The CSS of forms
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: