To answer your question.....yes inline styles supersede css styles as seen at
http://mootools.net/shell/5tmr3/ Better off modifying the class of the element rather than setting the style of the element -----Original Message----- From: Simon Vart [mailto:[email protected]] Sent: Monday, 7 June 2010 1:58 AM To: MooTools Users Subject: [Moo] Simple question about accordion Hi, I have just a simple question about accordion, i didn't find the answer. When I use the onActive and onBackground events, which works absolutely fine. I just noticed that the pseudo-class :hover I'm using on the css doesn't work anymore ; I believe this is because I change the text color wit hthe onBackground event, so the color is now fixed in a javascript way, which takes precedence on css. Is this correct, is there a way to make css pseudo-class :hover working ? (anyway, i could use some javascript to create the hover effect, but it would save some lines of code)
