I\'ve a code of some what like this:
#foo > IMG:first-child {/* first of two IMGs */} #foo > IMG + IMG {/* second one */}
Works in all browsers including IE7+.