I have the following code for a item description list (<dt>):
I'd like the image to be left with the item name and description flowing to the right of it. I don't mind changing tags if that's what it takes.
Two other requirements: 1. that the code stay standards compliant, meaning only <dt> and <dd> are allowed immediately inside the <dl> tag, 2. that the positioning be done with css.
anyone have a clue? let me know if you need more details to think out a solution.
TIA
Code:
<dl>
<dt class="thumbnail"><img src="itemimg.jpg" /></dt>
<dt>Item Name/Title</dt>
<dd>Item description, definition, plus other info.</dd>
<dt class="thumbnail"><img src="item2img.jpg" /></dt>
<dt>Item2 Name/Title</dt>
<dd>Item2 description, definition, plus other info.</dd>
</dl>
I'd like the image to be left with the item name and description flowing to the right of it. I don't mind changing tags if that's what it takes.
Two other requirements: 1. that the code stay standards compliant, meaning only <dt> and <dd> are allowed immediately inside the <dl> tag, 2. that the positioning be done with css.
anyone have a clue? let me know if you need more details to think out a solution.
TIA