[Introduction | Properties | Example]
Javascript Style Sheets (JSSS) are an equivalent way of writing style sheet declarations for Netscape 4. Explorer doesn't understand JSSS.
<style type="text/javascript"> <!-- tags.H1.color="red" tags.H1.textTransform="capitalize" with (tags.P) { fontSize="14pt" marginLeft="2em" marginRight="2em" } contectual(tags.P, tags.EM).fontSize="16pt" // P EM {...} with (classes.narrow.P) { color = "red" marginLeft = "5em" marginRight = "5em" } ids.special4.borderWidths("5px", "5px", "5px", "5px") //--> </style>