0

I have 3 images here each with text underneath each image. They're all supposed to be hugging each other (so no spaces between them) and so far that's as far as I can get. The problem is that they're all going to the left side when I want the whole div to be centered.

HTML:

<div align="center">
<p style="float: left; font-size: 7pt; text-align: center;"><a href="/link" target="_blank"><img src="/images1.jpg" height="200" width="200"></a><br><i>Text Here</i></p>

<p style="float: left; font-size: 7pt; text-align: center;"><img src="/images2.jpg" height="200" width="200"><br><i>Text Here</i></p>

<p style="float: left; font-size: 7pt; text-align: center;"><a href="/link" target="_blank"><img src="/images3.jpg" height="200" width="200"></a><br><i>Text Here</i></p>
</div>
Brandon
  • 374
  • 2
  • 15

0 Answers0