XML technologies / CSS / Advanced websites with CSS / Validation and backward compatibility

(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)

This chapter covers two related topics. First, we will examine validation tools and techniques to ensure that our stylesheets produce standards-compliant pages. When moving from a table layout to CSS, validation helps identify areas that do not yet meet CSS expectations.

The chapter’s second part shows how small changes to valid CSS pages can help older and incompatible browsers display them as well as possible. It covers the most common browser problems, how to avoid pitfalls with the @import rule, and how to define a page’s DOCTYPE declaration to gain more control over its display.

  

  

 

 

 

back to top