[WEB4LIB] JavaScript & CSS relationship question

Kevin W. Bishop bishopk at rpi.edu
Thu Sep 14 11:10:46 EDT 2000


 From Index Dot CSS:
http://www.eskimo.com/%7Ebloo/indexdot/css/topics/stylefaq.htm#one
"A Cascading Style Sheet (CSS) is a list of statements (also known as 
rules) that can assign various rendering properties to HTML elements."

Thus, CSS is merely code that instructs user agents how to *display* HTML 
elements.  JavaScript is more at manipulating "objects."

I do not believe there is any direct association with JavaScript (which is 
now being standardized as ECMAscript).

The combination of the latest HTML recommendation (4.0), JavaScript, 
CSS/CSS-P and the Document Object Model = DHTML.  Perhaps that is what your 
colleague was referring to?

-kb



At 07:43 AM 9/14/00 -0700, Bobb Menk wrote:
>Someone in our MIS group seems convinced that CSS is somehow built on
>Javascript and that our policies concerning Javascript therefore
>preclude the use of style sheets on our web pages.
>
>My understanding is that CSS is an entirely separate entity, unrelated
>to Javascript and therefore is not precluded by Javascript policy from
>use on our web pages.
>
>Could anyone more learned in the intricacies of the two help to clarify
>this for me?
>
>Thanks in advance.
>
>Bobb Menk
>Electronic Resources Librarian
>MIT Lincoln Laboratory
>bmenk at ll.mit.edu

_________________________________________
Kevin W. Bishop, Campus-Wide Info. Sys. Coord.
Libraries and Information Services
Rensselaer Polytechnic Institute
<bishopk at rpi.edu> | <http://www.rpi.edu/rpinfo/>



More information about the Web4lib mailing list