W3C home > Mailing lists > Public > www-style@w3.org > December 1996

Re: Cascading Style Sheets 1

From: Hakon Lie <howcome@w3.org>
Date: Mon, 16 Dec 1996 12:59:21 +0100 (MET)
Message-Id: <199612161159.MAA12500@www4.inria.fr>
To: corban@netscape.com
Cc: Gordon Blackstock <gordon@quartz.gly.fsu.edu>, Bob Walsh <bobw@skypalace.com>, www-html@w3.org, www-style@w3.org
James Corban writes:

 > http://home.netscape.com/comprod/products/communicator/index.html
 > "JavaScript style sheets give you all the control of CSS1 - made more
 > dynamic with programmatic control of attributes."

But don't forget [1]:

  "Navigator 4.0 supports two versions of style sheets: Cascading Style
   Sheets (CSS1) and JavaScript Style Sheets (JSSS)."

As can be seen from [2], JSSS is a way of setting CSS properties from
a scripting language. W3C is working to ensure that there will be a
common interface to CSS properties no matter what your favorite
scripting language is.

[1] http://home.netscape.com/comprod/products/communicator/guide.html
[2] http://developer.netscape.com/library/documentation/jsstyles.html

By setting properties from a scripting language, you can dynamically
modify property values. The downside is that your document may be less
interoperable: they require browser support for both the CSS
properties and the scripting language of your choice.

A good solution to this is to encode your static property values (most
of them are static) in CSS and use a scripting language for the
dynamic parts.



H      k   o   n      W   i   u   m       L   i   e
howcome@w3.org   W o r l d   Wide  W e b  Consortium
inria # FRANCE http://www.w3.org/people/howcome
Received on Monday, 16 December 1996 06:59:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:42 UTC