Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

6.1 Organize documents so they may be read without style sheets

If you use a style sheet to control layout, you need to make sure that the page is still legible and meaningful if you view the page without your style sheet.

You can test how your page looks without the style sheet in a number of ways:

  • Disable the style sheet in your browser and look at your pages. This will show you what the site looks like and whether it works without style sheets
  • Test the website with different browsers to determine if the site works on browsers with different style sheet capabilities. For example, test on the Macintosh and PC platforms with different browsers like Internet Explorer, Opera, Netscape and a text-only browser like Lynx
  • Test the website on older browsers. Older browsers may not support style sheets so testing the web site with an older browser will show if the information and functionality is accessible to older browsers

Test style sheets with the W3C style sheet validator. This software tool can be used to validate CSS 1 and CSS 2.