Images side by side

  • Kurthead+1
  • Graduate
  • Graduate
  • Kurthead+1
  • Posts: 131

Post 3+ Months Ago

In html, how do you put images next to each other on the web page rather than stacked? Anytime you put an <img src> tag after another, they are stacked rather than side by side. I want to put 3 images in the same row.
  • Kurthead+1
  • Graduate
  • Graduate
  • Kurthead+1
  • Posts: 131

Post 3+ Months Ago

Nevermind. I figured it out.
example:
<img src="picture1.jpg" width="400" height="350">
<img style="float:left" src="picture2.jpg" width="400" height="350">

"float:left" brings it in line.

There are probably other ways, but this worked nicely.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 61 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.