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

Chapter 9. Applying Styles > The Importance of Location

The Importance of Location

With so many ways to apply styles, it’s not unusual for more than one style rule to apply to the same element. As we discussed in Chapter 1, Web Page Building Blocks, and specifically on pages 4243, a style’s location can break ties in inheritance and specificity. The basic rule is, with all else equal, the later the style appears, the more precedence or importance it has.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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