- From: James Allan <allan_jm@tsb1.tsbvi.edu>
- Date: Tue, 07 Sep 1999 13:35:56 -0500
- To: WAU-ua <w3c-wai-ua@w3.org>
discharging my action item Meta Information - CSS insertions css2 can insert text strings in to a document base on the style sheet selectors. There are 2 special elements (:before and :after) called "pseudo-elements." These can be used with the "content" property to add any string of text before or after a block level (such as body, P, li) element. for example a style sheet with the following rule p.note:before { content: "Note: " } The style sheet would add the text _Note: _ at the beginning of every paragraph with a class of .note. this text is not in the actual document, it is generated by the style sheet. There is no limit to the amount of text that can be placed in the "content" property. No current browser that I tested (IE, Netscape, Opera, Amaya) supports this feature of CSS2. Jim Allan, Statewide Technical Support Specialist Texas School for the Blind and Visually Impaired 1100 W. 45th St., Austin, Texas 78756 voice 512.206.9315 fax: 512.206.9453 http://www.tsbvi.edu/ "We shape our tools and thereafter our tools shape us." McLuhan, 1964
Received on Tuesday, 7 September 1999 14:37:29 UTC