Text
Use style sheets for setting text color

Some people have certain color requirements for reading text. For example, older people might find that they read best in a high-contrast view, with white or yellow text against a black background. Others may have difficulty perceiving specific hues, or distinguishing the difference between colors of a similar hue. With Web pages, users can customize their environment so color does not get in the way.

One method for applying custom color combinations is for users to create a style sheet containing their requirements for viewing, and instruct the browser to use that style sheet on all Web pages. This method allows users to override author-defined styles and to apply style settings that reflect their viewing requirements. Of course, this method only works on pages that use style sheets and are marked up using proper HTML code. It does no good to have a user-defined style that sets all paragraphs at 42-point type if the Web page it is applied to has no paragraphs defined, or if the background color is defined the old-fashioned way in the HTML code. On the other hand, pages that are marked up using standard structural markup will honor user-specified settings.