Re: Cascading Style Sheets 1
Hakon Lie (howcome@w3.org)
Mon, 16 Dec 1996 12:59:21 +0100 (MET)
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>,
Subject: Re: Cascading Style Sheets 1
In-Reply-To: <32B4EDAD.6F95@netscape.com>
<32B4EDAD.6F95@netscape.com>
From: Hakon Lie <howcome@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.
Regards,
-h&kon
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