I am trying to make a small segment where I have an image on the left side with text vertically centered to the right of the image. For the second image below, I want the image on the right, and the text vertically centered to the left of the image.
<div id="Segment2">
<h2>Fig Tree is a discussion tool that helps organizations innovate</h2>
<h3>We took the basics of a discussion thread and added...</h3>
<div style="height:259px;" id="Branching">
<section class=LeftBoundPic>
<h4>Discussion Branching</h4>
<img src="SomePhoto.png" alt="FigTree"/>
</section>
<span>
Bunch of text <br>
that should be next to the image.
</span>
</div>
<div style="height: 259px; margin-top: 50px;" id="ContentHubs">
<section class=RightBoundPic>
<h4>Content Hub</h4>
<img src="SomePhoto.png" alt="FigTree"/>
</section>
<span>
More text that should <br>
be on the left of the photo now.
</span>
</div>
</div>
That is the html portion of it, but I cannot figure a way to style it with css.
I would recomend using display:table and display:table-cell which is the mostly supported layout in almost all browsers
Atleast we can use this until all browsers started supporting css3 flex and flex box layout