<div class="memberavatar"> <code for actual avatar image a href and img src /> <second image class="memberavatarimg" /> </div> <style type="text/css"> .memberavatar{position:relative;margin:0 auto} img.memberavatarimg{position:absolute;bottom:4px;right:4px} </style>