.container {
position: relative;
float: left;
}
.container img { display: block; border: none; vertical-align: top; }
.container span {
position: absolute;
display: block;
height: 16px; width: 16px;
background: transparent no-repeat top left;
}
.container span.top-left{
background-image: url(http://phrogz.net/tmp/corners/c1.gif);
top: 0; left: 0;
}
.container span.top-right{
background-image: url(http://phrogz.net/tmp/corners/c2.gif);
top: 0; right: 0;
}
.container span.bottom-left{
background-image: url(http://phrogz.net/tmp/corners/c4.gif);
bottom: 0; left: 0;
}
.container span.bottom-right{
background-image: url(http://phrogz.net/tmp/corners/c3.gif);
bottom: 0; right: 0;
}