Select Page > Text Size > Largest (in the IE7 menu) or View >
Text Size > Increase a few times (in Firefox). Other browsers
have similar choices. Note that everything scales up nicely for
viewers who are visually impaired.
2. Vary the value of the font-size property of the body selector??”
try 80 percent and 120 percent, for example. Save and reload
the page. Again, all the elements size proportionally. Those of
Inheritance of relative font
sizes is buggy in IE6??”see
http://css-discuss.incutio.com/
?page=InternetExplorerWinBugs.
STYLIN??™ FONTS AND TEXT 81
you who have spent hours changing the size attribute of hundreds
of FONT tags in dozens of pages after it??™s decided that the
type sizes are all too big or too small will appreciate the power
and convenience of this capability. Next time the client makes
some comment like, ???The problem with you designers is you
always make the type so bloody small,??? you can quadruple the
font size of the body tag and thereby the entire site in about ?¬? ve
seconds, and then politely say ???Is that big enough for you????
Let??™s move on to some other font-related CSS.
Font Properties
The relationship of font sizes is key to indicating the visual hierarchy
of the content in your document. This is achieved through an
understanding of the various font properties, and as we saw previously,
an understanding of how font properties can be inherited
through the structural hierarchy of your document.
Pages:
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123