CSS zum Stoppen des Zeilenumbruchs unter dem Bild
Ich habe folgenden Aufschlag:
<li id="CN2787">
<img class="fav_star" src="images/fav.png">
<span>Text, text and more text</span>
</li>
Ich möchte, dass der Text, wenn er umgebrochen wird, nicht in die 'Spalte' für das Bild eingeht. Ich weiß, ich kann es mit einem tuntable
(was ich tat) aber das ist nicht praktikabel fürdieser Grund.
Ich habe Folgendes ohne Erfolg versucht:
li span {width: 100px; margin-left: 20px}
.fav_star {width: 20px}
Ich habe es auch versuchtfloat: right
.
Vielen Dank.
EDIT: Ich möchte, dass es so aussieht:
IMG Text starts here and keeps going... and
wrap starts here.
So nicht:
IMG Text starts here and keeps going... and
wrap starts in the space left for the image.