Stylesheet Language

Pei Y. Wei ([email protected])
Fri, 22 Oct 93 14:03:11 -0700


Hi.

I'm working on a stylesheet library that will hopefully be useful for
all W3 browsers. A prototype is implemented in viola, but before I
get too far on this-- producing a more formal RFC and stand-alone
library and testing code, I'd like to get people's impression on it.

Particularly, any problem with the the syntax of the style description
language?

Here is a sample stylesheet:

(HEAD,BODY fontSize=normal
BGColor=white
FGColor=black
(H1 fontSize=largest
BGColor=red
FGColor=white)
(H2 fontSize=large)
(P)
(A FGColor=red)
(CMD,KBD,SCREEN,LISTING,EXAMPLE fontFamily=fixed)
(BOLD,EMPH,STRONG fontWeight=bold)
(I fontSlant=italic)
(ADDRESS
(P fontSlant=italic))
(OL
(LI numStyle=roman
(LI numStyle=number
(LI numStyle=alpha)
)
)
)
(FOOTNOTE fontSize=small
(P)
)
)