• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

12. Executable Content > JavaScript Style Sheets (Antiquated)

JavaScript Style Sheets (Antiquated)

Much of a browser’s work is manipulating the display, and much of its display code already has been exposed for JavaScripting. So it seemed only natural, perhaps even relatively easy, for the developers at Netscape to implement JavaScript Style Sheets ( JSS). Based on the W3C-recommended Cascading Style Sheet (CSS) model, outlined in Chapter 8, this alternative document style technology lets you prescribe display properties for all the various HTML elements, either inline as tag attributes, at the document level, or for an entire document collection.

JSS is a Netscape invention. In fact, for a short time, Netscape appeared ready to eschew the CSS methodology, which Internet Explorer already had implemented, and use JSS exclusively for HTML document designers with its then-current browser, Navigator 4. In the end, Netscape supported both JSS and CSS technologies. Today, Netscape 6 eschews support for JSS entirely in favor of the standard CSS2. At this point, CSS should be seen as Netscape’s long-term direction.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint