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

Chapter 1. Web Page Building Blocks > The Cascade: When Rules Collide

The Cascade: When Rules Collide

There are many ways to apply styles. As we’ve already seen, every browser has its own default system (see page 40). Next, you can write style rules and apply them to a specific (X)HTML element right in the code, insert them at the top of an (X)HTML document, and import one or more from an external file (see page 147). And some browsers let your visitors create and apply their own style sheets to any pages they visit—including yours. Finally, some styles are inherited from parent element to child.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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