Click to See Complete Forum and Search --> : Using vbscript within a css page


komrad
10-30-2008, 02:25 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.

felgall
10-30-2008, 03:28 AM
Web browsers do not understand vbScript so if you are going to use it then it needs to be server side on a .NET or ASP platform and not client side where it will just be ignored as garbage.