How can I get these dd images placed next to dt elements and other dd in dl ?
Here is what I would like:

Here is the JSFiddle , and here is the markup:
<dl> <dt>Bacon ipsum</dt> <dd class="img"><img src="http://placekitten.com/100/100" width="100" height="100" /></dd> <dd>Bacon ipsum dolor sit amet pork chop magna pork, tempor in jowl ham labore rump tenderloin pariatur pancetta tri-tip pork loin. Spare ribs meatloaf ground round chicken, non esse cow. </dd> <dt>Irure Jowl</dt> <dd class="img"><img src="http://placekitten.com/101/100" width="100" height="100" /></dd> <dd>Irure jowl non, chicken dolor veniam id in shoulder voluptate. Eu fugiat jowl, sunt drumstick id ad shankle shank aliquip bresaola aliqua reprehenderit. Fugiat shank pariatur strip steak laborum pork chop. Beef ribs aliquip fugiat, shankle id pork loin. </dd> <dt>Biltong labore turkey</dt> <dd class="img"><img src="http://placekitten.com/100/1002" width="100" height="100" /></dd> <dd>Biltong labore turkey swine dolor short ribs minim. Fugiat beef consectetur, sirloin do ham meatloaf hamburger pariatur jowl swine ham hock.</dd> </dl>
And CSS:
dt { margin: .75em 0 .25em 0; font-weight: bold; } dd { margin: .25em 0; } dd.img { margin: 0 .25em 0 0; } img { border: solid #666666 1px; padding: 3px; }
If I just float the remaining images, dt is above the image; but then I can not put dt in the correct position.
What is the cleanest and most semantic way to make this type of layout?
Katiek
source share