Prev | Current Page 101 | Next

Charles Wyke-Smith

"Stylin' with CSS: A Designer's Guide 2nd Edition"


And here??™s an example with serif fonts
font-family: {"hoe?¬‚ er text", times, serif;}
In the second example using the font-family property, I ?¬? rst
declare Hoe?¬‚ er Text. However, because Windows users don??™t usually
have Hoe?¬‚ er Text, they see the document displayed in the second
FIGURE 3.6These fonts are usually
preinstalled on Mac and Windows.
To see more samples of fonts common
to Windows and Mac, check
out: http://www.kathymarks.
com/archives/2006/11/best_fonts_
for_the_web_1.html and http://
www.ampsoft.net/webdesign-l/
WindowsMacFonts.html.
Because Trebuchet MS is more than
one word, it has to be in quotes. If
you do this in an inline style that??™s
already inside double quotes, use
single quotes on the name, like this


STYLIN??™ FONTS AND TEXT 73
choice, Times. If you put Times before Hoe?¬‚ er Text, everyone would
see Times, because both the Mac and Windows platforms have
that font.
Also, Vista, the Microsoft operating system, comes with a new
collection of what I call the ???VistaC??? fonts, for obvious reasons,
which are based on Microsoft??™s ClearFont technology: Calibri,
Cambria, Candara, Consolas, Constantia, and Corbel??”you can
see what they look like at: http://www.modernlifeisrubbish.co.uk/
article/new-vista-fonts-and-the-web.


Pages:
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113