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

Chapter 2. Mastering CSS > Fixing CSS Browser Inconsistencies

Fixing CSS Browser Inconsistencies

It is simply a fact of life on the Web: Not all browsers display CSS exactly the same way. This is because, like HTML and other Web standards, CSS is interpreted by the browsers. Rather than being strict rules for creating browsers, W3C recommendations are guidelines for how the styles should work. This leaves the burden for implementation on the browser manufacturers. Just as different people will interpret words with slight variation in the same language, browsers may interpret the same CSS code differently.

For the most part, these inconsistencies are so minor as to go unnoticed or are simply CSS features that have not been implemented in the browser (see “CSS Beyond Internet Explorer 6” later in this chapter). However, there are two variations between the major browsers that can really throw off your Web design: the page origin, and the box model. The good news is that there are ways to fix these problems and teach the browsers to play nicely together.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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