XML technologies / CSS / Advanced websites with CSS / Using fonts with CSS

(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)

This chapter explains how to use and style fonts with stylesheets. After a brief introduction to the relevant CSS properties, we will define different typefaces, sizes and styles in style rules. We will also examine the difference between standard and nonstandard typefaces and use both to achieve good results across systems. Finally, we will briefly explore “CSS and downloadable fonts”. Although this currently works only in Internet Explorer, it offers an interesting way to solve many font problems in web design.

  

  

 

 

 

back to top