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

Chapter Fifteen. Working with DOM-Based ... > Style Switchers: Aiding Access, Offe...

Style Switchers: Aiding Access, Offering Choice

In Chapter 13, we discussed the impossibility of delivering web type without alienating at least some of your potential visitors, and lamented that 13 years into the web's evolution as a medium, pixels are still the most reliable method of sizing type—and the most troublesome for IE/Windows users. What if you could offer your visitors a choice of user-selectable type approaches? What if you could even change your layout while you were at it?

According to CSS, you can. CSS allows you to associate any web page not only with a default (persistent) style sheet, but also with alternate CSS files. In the interest of enhancing accessibility, these alternate style sheets might offer much larger type or a higher-contrast color scheme [15.15, 15.16]. Or they could completely change the site's appearance for purposes of what was once called “user customization.”


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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