...

View Full Version : css page and vbscript within



komrad
10-30-2008, 08: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?

Thanks.

dustywb
10-30-2008, 10: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

http://validator.w3.org/

jerry62704
10-30-2008, 04: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum