On 8 Feb, 14:40, meeboo <[EMAIL PROTECTED]> wrote: > Hey all! > > I'm wondering why the following code will toggle the div 'divRed' to a > different color, but it won't toggle the color for 'divGreen'.
it occurred to me, too, many times, and I don't know why it happens. what I think is that if the element has already got a class which affects a property that the new one is going to change (!) you may need to add an !important to the css definition... just my two cents :)