I just asked about this on Twitter and got this reply from Andrew
Tetlaw:

http://twitter.com/atetlaw/status/6259397321

suggesting using tr:nth-child(even) rather than tr:even and this does
indeed work.

--
cheers
Steve


On Dec 2, 7:33 am, Karl Swedberg <k...@englishrules.com> wrote:
> Aha! I see it now. It's a warning, not an error, and it's a CSS  
> warning. If you're seeing it in Firebug, you can hide it by unchecking  
> "Show CSS Errors" in the Console preferences list.
>
> --Karl
>
> ____________
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Dec 1, 2009, at 4:11 AM, Steve Fleischer wrote:
>
> > I found this thread searching for a solution to this same error. I am
> > using FF 3.5.5 Win and jQuery 1.3.2 and get:
>
> > Warning: Unknown pseudo-class or pseudo-element 'even'.
>
> > when using this:
>
> > $("#listTable tr:even").addClass("altRow");
>
> > cheers
> > Steve

Reply via email to