Snippet of HTML Code:
<div class="goleft"> AD 300x250 size </div>
<div class="itemImageBlock goleft">
<span class="itemImage">
<img src="/media/k2/items/cache/c3997142576e6f4d163ead570965368d_S.jpg" alt="Pranab Mukherjee" style="width:300px; height:250px;" />
</span>
</div>
CSS Styles:
.itemImageBlock { margin:0 0 16px; padding:0; text-align: center; clear: both; }
span.itemImage { display:block; text-align:center; margin:0 0 8px 0; }
.goleft{
float:left
}
How do I align these two blocks side by side?
I'm struggling to get the ad and image to appear next to each other. Rearranging the div blocks works, but I prefer the ad first and then the image.
View Image Here:
Your assistance is greatly appreciated. Thank you!