• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Dynamic HTML > Cascading Style Sheets

Cascading Style Sheets

One relatively stable feature of DHTML is CSS. In looking at the two browsers and Windows and Macintosh operating systems, you find some differences, but not many. This is especially true with IE6 and NN6. In this section, I want to go over some of the more critical visual elements that are part of CSS. CSS has an aural component that is not addressed in this book, as well as many other features that make CSS an important designer’s tool. One highly regarded source is Cascading Style Sheets 2.0 Programmer’s Reference, by Eric A. Meyer (Osborne, 2001). Online, you cannot do better than the CSS2 standard, at http://www.w3.org/TR/REC-CSS2/about.html. Here, though, you need to understand something about the basics.

Standard Units of Measurement in CSS

The first feature—and one of the nicest—of CSS to be discussed is the units of measurement in CSS. Those with a design background, especially page design, are accustomed to working in a world in which measurement is in terms of pica, leading, kerning points, and similar units not available in standard HTML. However, with CSS, many of these familiar units of measurement are once again available for making a page. Table 12.1 shows the units of measurement available in HTML.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint