The style sheet used for this project is shown in Example 21-13. There are a number of sets of declarations, as follows:
Sets the default font family and size for the project using the universal selector.
Sets the width of the project window, centers it horizontally, specifies a background color, and gives it a border.
Sets the background color of the HTML section.
Gives all images a border, a shadow, and a righthand margin.
li a, and
Remove underlines from hyperlinks in all
<a> tags that are within a
<li> element, and all elements
Set the color in which
<li> elements and the
button class should display text when
Sets the properties for the heading (which uses the
appname class), including centering,
background and text colors, the font family and size, and the
Sets the width of elements using the
fieldname class by first floating
Applies an indent to elements that use it.
Used for displaying important information: sets a background and foreground text color, applies a border and padding, and indents elements that employ it.
.menu li, and
Ensure that all
elements and the
display inline, have padding applied, and have a border, a
background and foreground text color, a right margin, rounded
borders, and a shadow (resulting in a button effect).
Emphasizes sections of text.
Set the colors ...