The font-family property sets a default font (in this case,
Verdana) and fallback fonts in case the first choice isn??™t available on the user??™s system. The
list must end with a generic family, such as sans-serif or serif, depending on your other
choices. The fonts are separated by commas in the list, and if you??™re using multiple-word
fonts, they must be quoted ("Courier New", not Courier New).
The color property??™s value defines the default color of text throughout the site. In the
preceding example, its value is #000000, which is the hexadecimal (hex) value for black
(when defining colors in CSS, it??™s most common to use hex values, although you can use
comma-separated RGB values if you wish). It??™s also advisable where possible to add a background
color for accessibility; in this case, the background color is #ffffff??”hex for
white.
Web page backgrounds
Web page backgrounds used to be commonplace, but they became unpopular once
designers figured out that visitors to web pages didn??™t want their eyes wrenched out by
gaudy tiled background patterns. With text being as hard to read onscreen as it is, it??™s
adding insult to injury to inflict some nasty paisley mosaic background (or worse) on the
poor reader, too.
But, as affordable monitors continue to increase in size and resolution, designers face a
conundrum. If they??™re creating a liquid design that stretches to fit the browser window,
text can become unreadable, because the eye finds it hard to scan text in wide columns.
Pages:
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109