QUOTE(sanjaya78 @ Oct 30 2008, 08:28 AM)

I'd like to know if it's ok to use vbscript within a css page?
I don't think you can put MSIE's client-side VBscript code embedded in a style sheet (as opposed to in a HTML document). MSIE's "dynamic properties"
can be used inside style sheets, but I don't think they let you set variables.
But you can let variables in a javascript (outside the style sheet) change CSS in several ways, this works more or less in modern browsers. See
http://www.howtocreate.co.uk/tutorials/javascript/domcss and linked pages.
QUOTE
I'm thinking about defining certain variables at the beginning of the style sheet so that it's easy to change between colors (or load the colors from a database so each user can have their own custom colors).
Something like this?
http://www.barelyfitz.com/projects/csscolor/ see also
http://www.alistapart.com/articles/alternate/QUOTE
I know it's possible and it works but does it go against the w3c standard?
Not necessarily (as long as it's not written directly in the style sheet), but in general I don't think users bother to use style switchers.