Web Design

(Nancy Kaufman) #1

269


CHAPTER

Adding Forms to Your Site 11


TIP


Can I control the appearance of the fieldset?
Yes. You can use the CSS border properties to control the width, color, or style of the fieldset border,
and the width property to set its size. The legend can be formatted using any CSS font or text property.
Background colors, unfortunately, do not work because browsers vary widely on how they choose to
implement the background of a fieldset, and none of them do it well even within that variety.

● When the page is viewed in
a browser, the fieldset or
fieldsets appear as borders
around groups of fields.
The legends appear in the
top-left corners of the
fieldsets.

7 After the final form field
tag in the group, type


.

7

Free download pdf