Skip to content

24 ways to impress your friends

Vote down?

Mirko

That’s excellent. I’ve been using the nth-Element in a 4 by 4 Thumbnail-Gallery and really needed to address the last Thumb in each row to remove the right-Margin (Just the Problem you described). No Problem with n-th-Element in FF and Safari. But I was stumped on how to make this work in IE without having to add a class to each of these Elements in the markup.
With your jQuery Solution (which I didn’t thought of) you just made my day. :-) Thanks