|
| HOME | PRODUCTS | LOUIS | SHOP | MUSEUM | ADVISORY | RESEARCH | HELP | SEARCH |
A Cascading Style Sheet is the rulebook that tells a browser how to display a webpage. It specifically describes how each type of text-- headers, normal text, and so on-- appears. The font used, the font size, and the color of the text are defined; the background color is defined; the color and appearance of links are also defined.
The APH Web Site stylesheet has the following features for users with low-vision or visual impairments:
You may over-ride the APH web stylesheet by creating one of your own. The following information will assist you.
APH's Keith Creasy wrote an excellent introduction to Style Sheets in the Spring/Summer issue of APH Technology Update. Here, from that article, are the steps to creating your own style sheet:
By Keith Creasy
To create a simple style sheet, open "Word Pad" or similar text editor from the Windows accessories menu and enter the following text:
body {
color: yellow;
background: blue;
font-family: "Verdana"
}
p {
font-size: 24pt
}
h1 {
font-size: 48pt;
color: white
}
h2 {
font-size: 42pt
}
The first word of the text listed above, "body," refers to the tag that defines the entire body of the HTML (Web) document. In style-sheet terms this is called the "selector." After the selector comes a set of opening and closing braces where the "rules" for the style selector are specified. Here, I've used three rules: one for the font family, one for the background color, and one for the text color. I also define a font size for the level one headings, H1, and the level 2 headings, H2.
Once the text has been entered, save it as "C:\MYSTYLE.CSS" and close Word Pad. To activate your new styles, you'll need to make changes to your browser settings.
Navigator (version 4.0 and earlier) does not allow you to use your own style sheet.