Clive Portman: code

:last-child not working?

If you're having problems with :last-child, remember it only works if the element is the last child of an element. This is different to it being the last of its type in an element, when you should use :last-of-type.

Think about it - there is a difference.