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

CSS

Test your pages with and without style sheets to be certain they are readable either way. Don't worry about changes to graphic design with styles turned off, unless those changes render the site unusable.

Structured Markup Conveys Meaning When CSS Goes Away

If you author with well-structured XHTML, your page will work better even when styles are switched off or unavailable [14.8, 14.9]. Readers “get” structured markup with or without CSS, just as they get it when using IE/ Windows' “all or nothing” font size access feature as described in Chapter 13. As we keep saying throughout the book, emphasize structure and avoid divitis. Markup like that shown next won't make much sense when CSS is unavailable to the user:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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