Re: Cascading Style Sheets 1

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

Follow-Ups: References: