HTML and CSS Reference
In-Depth Information
Figure 11-6. Thanks to display: block; being set on label elements, our label/form element
pairs now each exist on a line of their own.
Not bad at all! But it would be even better if we made those legend elements look a little
better. Let's make them bigger and bold, and move them up and outside of the fieldset boxes:
legend {
font-size: 1.4em;
font-weight: bold;
position: relative;
top: -.4em;
Search WWH ::

Custom Search