Modify it at your peril.
Then there is the user style sheet. The user can create a style sheet,
too, although very few do. This capability is handy, for example,
for the visually impaired, since they can increase the baseline size
of text or force text to be in colors that they can discern one from
another. You can add a user style sheet to Internet Explorer for
Windows (6 or 7) by selecting Tools > Internet options and clicking
the Accessibility button. This capability, for example, enables visually
impaired users to add a style like
STYLIN??™ WITH CSS - CHAPTER 2 56
body {font-size:200%;}
that doubles the size of all text??”inheritance at work again. This
is why it is important to specify text in relative sizes, such as ems,
rather than ?¬? xed sizes, such as points, so you don??™t override such
changes. We will discuss this interesting topic more in Chapter 3.
Then there are author style sheets, which are written by you, the
author. We have already discussed the sources of these: linked style
sheets, embedded styles at the top of pages, and inline styles that
are attached to tags.
Here??™s the order in which the browser looks at, or cascades through,
the various locations:
??? Default browser style sheet
??? User style sheet
??? Author style sheet
??? Author embedded styles
??? Author inline styles
The browser updates its settings for each tag??™s property values (if
de?¬? ned) as it encounters them while looking sequentially in each
location.
Pages:
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92