I am attempting to align the images back to the left under the title, while only floating the description text to the right. I am struggling with clearing the image floats.
HTML:
<div class="title">System Displays</div>
<div class="description">Lorem ipsum dolor sit amet.Lorem ipsum dolor sit amet.Lorem ipsum dolor sit amet.
<img src="http://dummyimage.com/400x200/000/fff" />
Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. </div>
CSS:
.title {
width: 200px;
float: left;
}
.description{
width: 200px;
float: right;
}
.description img {
float: left;
clear: both;
}
You can view the jsfiddle link for a clearer picture. Unfortunately, I am unable to add any extra HTML elements. Thank you for any advice.
EDIT: Additionally, this version [jsfiddle] is what I am aiming for visually. I am uncertain if using position: relative;
would be appropriate in this case.