| Home > Rules > CSS Rules |
CSS Styles for Rethinking Schools |
|
Cascading Style Sheets are used throughout the Rethinking Schools web site. This document describes the use of CSS across the Rethinking Schools web site in detail. The styles defined within the main CSS file: "RSstyle.css" have been carefully developed to ensure consistency across the main browsers and operating systems used today (October 2002). That includes Macintosh and Windows versions of Netscape & Explorer. The AOL browser is based on Explorer. The base browser version is 4.x. Explorer version 3.x introduced Style Sheets in 1997. Netscape introduced CSS with its version 4.x browser in 1998. A conservative approach was adopted. The font faces, sizes, leading, weights and colors were carefully chosen. Those that appear within the defintion provide the most consistent rendering across all browsers and platforms tested. DO NOT MODIFY THE FILE "RSstyle.css" Definitions and Uses of CSSThese are the styles used in the file "RSstyle.css" as of October, 2002. Examples of each rule is shown, followed by the definitions for each rule.The definition appears first in near-traditional typesetting terms (The Rule), then as it appears in the style sheet (The Code). In all cases, pixels were used as a measure because they provide the most consistency across platforms. You can think of pixels as the near equivalent of points. One pixel is alomost equal to one point. MAIN SITE FONTThe font used across the site and defined as appearing within all <td> tags is: Arial; Helvetica; Sans-serif. This is the "body" definition. Type size is NOT defined because it would cause problems later. This style affects all copy appearing within a table cell. Copy outside of table cells will render as Times. All copy appearing within the Rethinking Schools web site must be contained within a table cell. That is: within a <td> tag. Since the site layout is controlled with tables, this should never be a problem. What this style tells the browser is:
The code is:
NOTE: Changing this style rule affects the font used throughout the entire Rethinking Schools web site. No other font faces are defined in the following styles. WARNING: Most computers have Times and Arial installed. Specifying another font that is NOT installed across all computers, such as "Formata," will cause problems in rendering on computers that do not have that font. DO NOT CHANGE THIS DEFINITION. HEADSHeadline tag styles (H1, H2, H3, H4.) are pre-defined by font size, leading and color. In the following rules, pixels (px) are used as a unit because they provide the most consistency between Mac and Windows. You can think of pixels as points, but they are not exactly equivalent.
SPECIAL CLASSESThe list below identifies all classes predefined withiin RSstyle.css. It includes instructions for their use. txtThis style will be the most often used style. It is usually attached to <table> or <td> tags. It controls the size of type appearing within a table or table cell. The size of all copy in this column is defined by the style "txt" because it was attached to this table cell, or <td> tag: <td class="txt">
NOTE: This tag controls only the size and leading of copy. Style & weight are still controlled by <i> (italic) and <b> (bold) tags. If another size or type style is desired within a table cell, attach a different class to that copy. (See column at right.) txt_smlThis style will be the second most used style. It is attached to columns like the gray colimn to the right. These columns generall contain incidental copy, like a table of contents for a specific Rethinking Schools issue of articles. It is also used for author information and the typical "Fall 200" closing at the end of articles. In those cases, it is attached to the <p> tag.
Like the "txt" class, the "txt_sml" class affects only type size. page_titleUsed ONLY for the title of all pages - at the top of the page. It is in the base template for the site. It MUST be attached to a bold tag: <b class="page_title">
You may never need to use this tag because it is part of the template for all pages. leadinThis style is used for special cases when the first paragraph on a page is intended to stand out from the rest of the copy on that page. It controls size and color. It can be attached to a paragraph <p> tag or a bold <b> tag, depending on how much emphasis is desired. If the <b> tag is used, color may not always appear.
authorThis style is used for author bylines. It MUST be attached to
a bold tag:
author_closeThis style was created for the paragraph appearing at the end of an article that gives information about the author. It sets a larger size, italicizes this type and makes it blue. Attach it to the <p> tag.
articleThis style is used on Journal table of contents pages (typically "17_01.shtml"). It defines a larger font size and a blue color for the title of an article in the table of contents. Attach it to the title of an article in the TOC. This class is attached to the <b> tag surrounding the title of the article only. For example:
Note that the <b> tags are outside of the <a> tags which create the link. Use care to keep this separate from the "author" class attached to an authors name in a separate <b> tag.
subheadThis class was created for a very special use. When the extra space created by the use of an <H3> tag is not desired, use this tag. It should always be attached to a bold tag: <b class="subhead">
The closing bold tag </b> can be followed by a <br> tag, creating a tighter unit when so desired:
The "subhead" class is useful in table cells or paragraphs controlled with the "txt" or "txt_sml" classes. smallheadThis class is similar in use to the one noted above. It is most useful within paragraphs or table cells controled by the "txt_sml" class. It must also be attached to a bold tag: <b class="smallhead">
It is not useful in text controlled by the "txt" tag. In those cases, the bold tag alone will suffice. SPECIAL CASE CLASSESwhite_headThis style has very speciallized uses. It should only be used when the background of a table cell is darker than 30% gray (999999 or darker). It must be attached to a bold tag. It is shown below in a table cell with a black (000000) background.
NOTE: sample above is shown in a floating table cell with a cell padding of 6. toc_headThis special case class is used only for the headline of a table of contents appearing on article page for individual issues of Rethinking Schools. (Typically "CONTENTS Vol. 17, No. 1".) It is only used in the right-had column in Journal pages against a light grey background. It MUST be attached to a bold tag.
Singling this use out allows for quick modification of the heading of all table of contents throughout the site by changing this definition - if necessary. legalThis style was created for any legal copy that must appear on any page of the Rethinking Schools web site.
Verdana is specified because it is very readable on screen at small sizes. The same is true of Geneva total_priceThis style was created for the Order forms and whenever a total price needs to be highlighted. It creates a bold red font that is hard to miss.
HOME PAGE CLASSESThese classes are used only on the Home Page.They allow independent control of the Home Page fonts. They should NOT be used on any other page. ALL Home Page styles start with the letters "HP_" The first four styles define a range of headline styles. They must all be attached to a <b> tag. HP_head1This style is the largest headline style for the Home Page. It MUST be attached to a <b> tag.
HP_head2This style is the second largest headline style for the Home Page. It MUST be attached to a <b> tag.
HP_head3This style is the third largest headline style for the Home Page. It MUST be attached to a <b> tag.
HP_subheadThis special style is used when a smaller subhead is required. It is similar in size to the site-wide H3 tag, but allows tighter line spacing with the line below it. It is smaller than the Home Page head3 tag. It MUST be attached to a <b> tag.
HP_subhead_smallThis special style is used when a smaller subhead is required. It is similar in size to H5 with more open leading and allows tighter line spacing with the line below it. It MUST be attached to a <b> tag.
The following styles affect the text appearing on the Home Page. They can be used with discretion on the Home Page. HP_leadinThis is similar to the "leadin" style used throughout the site, but has been modified for use on the Home Page ONLY.
HP_textThis style is slightly larger than the "txt" style used throughout the site. It is modified for use on the Home Page ONLY.
HP_txt_smallThis style is for small text on the Home Page ONLY.
HP_txt_tinyThis style is for tiny text on the Home Page ONLY.
OTHER CLASSESThe following classes are used primarily in the template and are not intended for general use. crumbtrailUsed ONLY for the crumbtrail appearing at the top of all pages. This is also built into the template for all pages. It is attached to the table cell holding the crumbtrail.
nav_txtThis style is used in the template for every page. It controls the display of the text navigation appearing at the bottom of every page. It is attached to the table cell holding the text navigation: <td align="center" class="nav_txt">
footerThis style is used in the template for every page. It controls the display of the copyright and closing copy appearing at the bottom of every page. It is attached to the table cell holding the the copyright: <td class="footer">
NOTE: This is one of only two classes that define a different font face. Verdana is preferred for very small type because it is very readable at small sizes and available on most computers. hoverThis class is automatically attached to ALL links. It controls the color seen when a cursor rolls over a link. It is NOT attached to anything else and is never used outside of the style sheet.
|
Contents This column is used for tables of contents in Rethinking Schools Journal articles. It has been assigned the class "txt_sml"by attaching that class to the "td" tag: <td class="txt_sml" > This means that all type placed in this table cell will be controlled by the rule attached to this class, unles overridden by another style as in the copy below. This paragraph was given the "smallhead" class. This paragraph was given the "crumbtrail" class. This paragraph was given the "author" class. All classes that include "bold" as part of their definition must be treated in a special manner. Attach the class to a <b> tag: <b class="author"> This was the case of the paragraphs above. Some styles can be attached directly to the <p> tag. This paragraph has the style "txt" attached only to the paragraph tag. This paragraph has the "leadin" style. When no style is attached to a paragraph, it takes on the style of the table cell it is in. This paragraph is an example. USE STYLES SPARINGLY. The point of styles is to reduce file size while gaining control over type display. Follow the guidelines found on this page in using styles within the Rethinking Schools web site. |
|
| ORDER | Current Issue | Article Index | Archives | Web Resources | Publications | Just For Fun | Who We Are | | |||||
|
© 2002 Rethinking Schools * 1001 E. Keefe Avenue, Milwaukee, WI
53212 * Phone(414) 964-9646, or (800) 669-4192, |
|||||