How do I make javascript override CSS?

Sureshot324

Diamond Member
Feb 4, 2003
3,370
0
71
Say I have a background color specified for my web page in a CSS file. If I try to change that background color with a java script, nothing happens. If I remove the stylesheet, the javascript works fine. Is there a way to force the javascript to change the color to something other than what's specified in the stylesheet?