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

Chapter 5. The Cascade > Cascade-Order Sources

5.3. Cascade-Order Sources

There are three different sources from which style sheets can originate: from the Web author, those (if any) created by the user viewing your Web page, and from the default settings used by the browser for rendering style sheets. It is important to know that these are also given specific “weights” in the cascading order, since under the right circumstances, a Web author's style sheet code can be overridden by these other settings.

Most browsers enable individual users to set their own viewing preferences when viewing Web pages. A fairly typical change that is often made is to make default text on a page larger than normal, making it more readable for those whose vision may be weak. Other quick changes that some browsers allow include letting the user set preferences for colors displayed on a Web page, or for specific fonts, links styles or even tables. While these are only the most typical changes, knowledgeable users can in fact set up separate style sheets that detail their display preferences for how Web pages should appear within browsers that allow this feature. This means that users can style Web pages using the full gamut of formatting possibilities available to CSS. Figure 5-3 shows how these settings can be explicitly set in several recent Web browsers.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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