<html> <head> <style> div { font-family: "Lucida Grande"; font-size: 10.5px; } .gallery { border: 10px solid red; overflow:auto; float:left; } .gallery img { float:left; margin-right:6px; } </style> </head> <body> <div class="gallery"> <img src="" width="86" height="66" /> <div>x</div> <div>Ted and the miniature Teddy</div> </div> </body> </html>