I'm trying to do some text displaying, but sometimes there are many items to display. The problem is that for each item, I have to display a sprite (= just a portion of a big picture).
The code which displays the sprite looks like:
<span style="display:block;
width:48px;
height:48px;
background: url('/lol/img/sprite/item1.png') -96px -384px no-repeat;"
> </span>
The problem I'm facing, is for big screens: when the text is too short, the next "item" goes "into" the previous, like this (watch it on a 1920px wide screen: http://www.wogwog.fr/champions/amumu/)
How should I do to make it always appear like "one picture+description on the right", one line by one line (just resize your browser to a smaller width to see a "proper" display)?
Sorry I'm not very good in CSS & in english...