.qitem{ width:110px; height:110px; background:url('http://1.bp.blogspot.com/-dBTXkMQO2wU/UF4sUmwYR9I/AAAAAAAAbF0/GM5ksHLSml8/s1600/722.png') no-repeat; overflow:hidden; cursor:pointer; position:relative; margin:10px; display: inline-block; } .qitem img{ border:0; position:absolute; z-index:200; } .qitem .caption{ position:absolute; z-index:0; display: block; } .qitem .caption h4{ font-size:8px; padding:25px 15px 15px 15px; vertical-align: middle; margin: 0; } .qitem .caption p{ padding:3px 5px 0 8px;margin:0; } .topLeft,.topRight, .bottomLeft, .bottomRight{ position:absolute; background-repeat:no-repeat; float:left; } .topLeft{ background-position:top left; } .topRight{ background-position:top right; } .bottomLeft{ background-position:bottom left; } .bottomRight{ background-position:bottom right; } .clear{ clear:both; }