I have successfully floated an image to the left of text with the following CSS. How can I achieve a similar effect with an image to the right of text on the same page? Do I need to use a clearfix between the left and right images?
Thank you!
.innercontent {
padding: 0 185px 0 0;
position: relative;
text-align: justify;
}
.innercontent img {
right: 0;
position: absolute;
top: 0;
}
<div class="innercontent">
<p>Lorem ipsum dolor sit amet....</p>
<img src="/media/18/tractor_150.jpg" alt="tractor" width="150" height="107" />
</div>