View Full Version : css page and vbscript within

10-30-2008, 09:53 AM
Hello all,

I'd like to know if it's ok to use vbscript within a css page?
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). I know it's possible and it works but does it go against the w3c standard?


10-30-2008, 11:24 AM
If you have the code in the page try validating the page against the w3c's online validator. If it passes it's legal, if not it will tell you why it didn't


10-30-2008, 05:53 PM
I'm assuming you mean to run the VB on the server? No problem there. You can dynamically build the page before it is presented to the user.