On Sep 27, 2010, at 8:22 AM, stratboy wrote:

>  if I set an button's
> hover state by changing its styles via setStyles, then the natural
> css :hover declarations will not work anymore.

Only the overlapping ones.  I don't get why you're doing this.  Just use :hover 
and not setStyle.

If you need to support browsers that don't support :hover on every element then 
just add a .hover class with JavaScript.  setStyles should really be used 
incredibly sparingly, it's much faster to add a class.

Reply via email to