HTML and CSS Reference
In-Depth Information
Figure 6-15.
The improvements to the text input labels don't suit the rest of the form
5. The radio button labels are nested inside a
<fieldset>
element, so you can use a
descendant selector to reset the
font-weight
and
width
properties like this:
fieldset label {
font-weight: normal;
width: auto;
}
6. Remove the margin, padding, and border from the
<fieldset>
like this:
fieldset {
margin: 0;
padding: 0;
border: none;
}