Hi,
Die Breite des Fotos scheint mitgerechnet zu werden. Das sieht man, wenn man dem Text-div einen border gibt. Der schließt das Bild mit ein.
Jein; block-Elemente werden weiterhin über die volle Breite auch „unter“ dem gefloateten Element gelayouted – nur inline-Elemente fliessen um das gefloatete Element herum.
Bei austauschbaren Bildern kann ich aber die Gesamtbreite nicht kalkulieren. Wie könnte ich das Problem lösen?
Ein inline-block Pseudoelement (:before) mit fester (Mindest-)Breite sollte helfen.
MfG ChrisB
--
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/