That's probably classed as off-topic for this list, I imagine what you are looking for is something like this
document.getElementById('some-id').className = 'cssClassName'; Or document.getElementById('some-id').style.color = 'red'; If you want to discuss this off the list, send me an email. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Casadio Pablito Sent: 07 May 2008 10:21 To: css-d@lists.css-discuss.org Subject: [css-d] To pass javascript argument to css? Hi at All I'ld like to know if it is possible to pass variables values to css from javascript an how Best regards and thank you very much Pablito ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/