Li:nth-child(odd) a:hover

Can I do that? It doesn’t seem to be working.

why not use n+1 instead of ‘odd’?

Does it do the same thing? If so you think that would hover?

oops, actually, 2n+1. holiday tiredness.
mathematically, it should do the same thing
2n+1= 1,3,5,7,9,11,13,15… (n->0)

I am thing the hover is NOT the problem ( as long as you have an anchor inside the LI!), so this would be an easier way to target those specific element using a shortcut (‘odd’) that may not be supported by some UA.

if you are trying to do: li:nth-child(odd):hover , (no A) , well i am not sure that would work in Safari. Saf seems to act oddly about things like this.

I’ve never seen anything like that. What’s the exact syntax look like?

Each li is a dif rotation. One -10 and the next 10. On hover I spin it 360. Well I want it to end strait. Not the 10 degrees off. So the default is hover 370deg and I’m trying to target the every other to 350deg. I’ve only tried on my iPad. I don’t do my best work there. Maybe ill have more luck in DW.

li:nth-child(2n+1) a:hover {your rules…}
you could have a test declaration to make sure your rule is on target , something obvious like {color: pink;} if you get pink text then you know your rule is working , but maybe your trig is off (tho it appears correct to me)

I blame it on the iPad. I neglected to put the id before it. So specificity prob. It works now. FYI both (odd) and (2n) worked to target every other li. I used odd as it has more meaning to me.

Glad to hear you got it all functioning. I thought it was odd that “odd” wasnt working ( see what I did there?) but sometime CSS3 shortcuts vary from UA to UA, so i figure I would suggest the much maligned longhand.