Skip to content

24 ways to impress your friends

Vote down?

Erik Vorhes

A caveat: Internet Explorer 8 chokes on any CSS that includes a selector it doesn’t recognize, so it doesn’t respect this line of CSS from the “nth-child last-child” example: li:nth-child(3n), li.last { margin-right: 0; }

To get IE8 to play nicely, you’ll need to change it to this: li:nth-child(3n) { margin-right: 0; } li.last { margin-right: 0; }