Support » Fixing WordPress » Align issue with 3 images (mostly HTML)

  • dazzle415

    (@dazzle415)


    Hello,

    I’m trying to center 3 images equally on a page. The code I have is similar to this;

    <a href="http://webpage-url.com" target="_blank"><img src="http://image-location.jpg" align="left"" width="200" height="100" /><a href="http://webpage-url.com" target="_blank"><img src="http://image-location.jpg" align="center"" width="200" height="100" /><a href="http://webpage-url.com" target="_blank"><img src="http://image-location.jpg" align="right"" width="200" height="100" />

    I’ve tried isolating the middle code with the <center></center> code but it’s putting the image on a new line below.

    Any help would be awesome.

    Thanks,

Viewing 1 replies (of 1 total)
  • You could try creating 3 divs all floating left each with their width styled to a 3rd of the width of the entire page or content area, then text align each div centered so the images sit centered inside each div.

Viewing 1 replies (of 1 total)
  • The topic ‘Align issue with 3 images (mostly HTML)’ is closed to new replies.