This email address is being protected from spambots. You need JavaScript enabled to view it., Adaptive Technology Resource Centre, University of Toronto
This email address is being protected from spambots. You need JavaScript enabled to view it., Texas School for the Blind and Visually Impaired
Last Revision: March 10, 1998
Anatomy of a Style Sheet: rules
rule = Selector { Declaration }
Declaration = property : value
rule = Selector { property : value }
h1 { font-family: bold 50px Verdana, sans-serif;
color: #F73;
text-decoration: underline ; }
This is the result
Web Style Sheets: No Style Support - Still have Access!
(This page uses CSS style sheets)
"Hopefully, future Web innovations will emulate the example set by the Web Consortium in its work on CSS"
--Jakob Nielsen
What's new
- 9801281104 W3C released the second public Working Draft of CSS2. You are invited to review this document.
- 980130: XPublish is an XML publishing system with support for CSS.
- 980122 W3C launches a Working Group on XSL.
- 980115 Lewis Gartenberg has released a shareware tool, W2CSS, which converts MS Word documents in to HTML and CSS.
- 971216 EDF has released CSSize, a tool which helps you convert HTML documents into HTML+CSS documents.
- 971216 Hexmac has released HexWeb CSS Edit as a plugin for BBEDit or as a stand-alone Macintosh version.
- 971104 W3C released the first public Working Draft of CSS2. You are invited to review this document.
- 971104 Coffeecup Software's StyleSheet Maker++ is a dedicated application for creating CSS style sheets.
- 971024 mBED's Interactor 1.1 supports CSS Positioning which, when combined with a scriping language, allows you to create HTML-based animations.
- 971024 Webreview tells you how to write your first style sheet.
What are style sheets?
Style sheets describe how documents are presented on screens, in print, or perhaps how they are pronounced. Style sheets are soon coming to a browser near you, and this page and its links will tell you all there is to know about style sheets.
By attaching style sheets to structured documents on the Web (e.g. HTML), authors and readers can influence the presentation of documents without sacrificing device-independence or adding new HTML tags. Style sheets have been an W3C activity since the consortium was founded and has resulted in the development of CSS. Recently, a Working Group on XSL was launched.
The easiest way to start experimenting with style sheets is to find a browser that support CSS. Discussions about style sheets are carried out on the This email address is being protected from spambots. You need JavaScript enabled to view it. mailing list and on comp.infosystems.www.authoring.stylesheets.
Press clippings
If you are new to the subject, you may want to start by browsing recent press clippings on style sheets:
- Web Review: .. Netscape and Microsoft finally agree on something: Absolute positioning should be done with Cascading Style Sheets (CSS)
- Web Review: Style Sheets: The Light at the End of the Tunnel
- PC Week: Cascading Style Sheets put new style into HTML
- Webweek: Early adopters feel empowered by Cascading Style Sheets
- HotWired: "Stylesheets are just plain good for everybody" Webweek: Netscape and Microsoft At Odds Over Style Sheets
- Webweek: c|net:"...... the big news in HTML is style sheets .. "
- InfoWorld: "Style Sheets will preserve basic HTML for all browsers"
- InfoWorld: "Common HTML style sheet standard gains key endorsement"
- InfoWorld: Netscape sets timetable for launch of Navigator 4.0 browser-->
DSSSL
Where CSS1 is simple, DSSSL is advanced. DSSSL, an ISO standard, is a document tree transformation and style language with many adherents in the SGML community.
It's a mistake to put DSSSL into the same bag as scripting languages. Yes, DSSSL is turing-complete; yes, it's a programming language. But a script language (at least the way I use the term) is procedural; DSSSL very definitely is not. DSSSL is entirely functional and entirely side-effect-free. Nothing ever happens in a DSSSL stylesheet. The stylesheet is one giant function whose value is an abstract, device-independent, nonprocedural description of the formatted document that gets fed as a specification of display areas to downstream rendering processes.
-- Jon Bosak
DSSSL resources on the Web:
- The final Document Style Semantics and Specification Language (DSSSL) draft is available from the Novell Publications Server.
- DSSSList is the DSSSL Users' Mailing List. The archives of the now dysfunctional dsssl-lite mailing list are also available.
- Jade is James Clark's DSSSL engine.
XSL
W3C has recently launched a Working Group to develop the eXtensible Style Language (XSL). XSL builds on DSSSL and CSS and is primarily targeted for highly structured XML data which e.g. needs element reordering before presentation. One feature of XSL is that it can be user-extended through the ECMAScript language. For more information on XSL see the W3C XSL resource page.
Dynamic HTML
Dynamic HTML is a term used to describe HTML pages with dynamic content. CSS is one of three components in dynamic HTML; the other two are HTML itself and JavaScript (which is being standardized under the name EcmaScript). The three components are glued together with DOM, the component object model. Dynamic HTML is still in its infancy and current implementations are experimental.
Historical Style Sheet proposals
The proposals are roughly in chronological order. They contain ideas that current proposals build upon, and serve as background material.
970922: The eit list archive no longer seems operational and we're looking for a new source for links below
- Robert Raisch's A Style sheet proposal. This proposal groups visual parameters and specifies a simple declarative language for setting values. Simple and concise.
- Pei Wei's Stylesheet language proposal. Comment from Steve Heaney,
- HŒkon Lie's Cascading HTML style sheets The emphasis here is not on syntax or list of parameters, but on the ability for several style sheets (specified by e.g. user and author) to influence the final presentation. Comments from Bert Bos, Brian Behlendorf, Pei Wei, and Dave Raggett. Kevin Hughes posted extensive comments and suggestions to a later draft.
- Jon Bosak's HDL proposal, the HDL Q & A. These are found in the Davenport Group Archive.
- Joe English' Style Sheets for HTML. Although the author announces that this style sheets proposal probably will be abandoned in favor of DSSSL-Lite, it contains valuable discussions.
- Bert Bos' Stream-based Stylesheet Proposal. This proposal borrows from -- and comments -- several of the other proposals. Bert Bos also published a collection of articles on style sheets in general.
- "Style sheets for HTML" Not much is known about this proposal.
Related resources
- What's wrong with the <FONT> element?
- <FONT FACE> considered harmful
- A Working Draft from W3C discusses HTML3 and Style Sheets. This proposal is independent of the style sheet language.
- Fonts are important for style sheets to succeed on the Web.
- W3C hosts the This email address is being protected from spambots. You need JavaScript enabled to view it. mailing list on style sheets. Feel free to add yourself or browse the archive.
- Life on the bleeding edge is a good introduction to the concept of style sheets and why the web needs them.
- David Siegel's Balkanization of the web
- C. M. Sperberg-McQueen, Robert F. Goldstein: HTML to the Max: A Manifesto for Adding SGML Intelligence to the World-Wide Web This paper was presented at the WWW'94 conference in Chicago. Also from one of the authors: Sketch of Simple Formatting Primitives
- Kent Wittenburg and Louis Weitzman's Automatic Presentation of Multimedia Documents Using Relational Grammars (Postscipt version, large) Appeared in Proceedings of ACM Multimedia'94, San Francisco, Oct 15-20, 1994
- Vincent Quint: The languages of GRIF (compressed postscript version, large)
- C. Roisin, I. Vatton: Merging Logical and Physical Structures in Documents (postscript), Electronic Publishing -- Origination, Dissemination and Design, special issue Proceedings of the Fifth International Conference on Electronic Publishing, Document Manipulation and Typography, EP94, vol. 6, num. 4, pp. 327-337, April 1994.
- David Silverman: Toward a Universal Library - SGML and the future of electronic documents. This article appeared on the "geek page" of Wired magazine 3.08.
Other approaches to putting style on the web
- DigitalStyle promotes WebSuite2
- FutureTense promotes Texture
- Adobe Acrobat
- Netscape's HTML2 extensions, HTML3 extensions,and color attributes.
- w3magic is a "tool that adds over 100 new high-level tags to all your HTML documents".
- Common Ground's Digital Paper
- RFC 1563 defines The text/enriched MIME Content-type.
- HyperTeX
- Imagen's RTC, an online extension to RTF.
HŒkon Wium Lie, W3C Style Sheets Activity Leader Webmaster Last updated: $Date: 1998/01/15 20:53:12 $
[http://192.188.148.56/_private/Navigation.htm][http://192.188.148.56/_private/page_info.htm]
Last Revision: March 10, 1998
The URL of this page is: http://\\tsb1.tsbri.edu/technology/stylesheets/nocss.htm