I have 3 images side by side

image - image - image

I want text above each image but each time I try it I mess it up.

The images are 170x255 and the width of everything cant be more then 580 as It then overlaps and I need each row to have 3 images.

The code I use is

Code:
<div style="text-align: center;"><a href="urlhere" target="_blank"> <img src="urlhere" alt="" border="0"></a> - <a href="urlhere" target="_blank"><img src="urlhere" alt="" border="0"></a> - <a href="urlhere" target="_blank"><img src="urlhere" alt="" border="0"><br></a>&nbsp; </div>
Thnx