[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>
Last updated on November 27, 2003.
You are visitor number 5431 to http://www.sentex.net/~ajy/jsss.html.
For questions or comments, e-mail James Yolkowski (ajy@sentex.net).
Return to James Yolkowski's homepage.