Hi,
Wenn ich es so mache:
img{
width:45%;
}stimmen die Masse, aber ich möchte die Höhe eben auf 100 Pixel beschränken.
Dann packst du es am besten in ein Container-Element mit einer max-height von 100% und overflow:hidden.
Und wenn du nicht den oberen Teil des Bildes sehen und den unteren abgeschnitten haben willst – dann wäre es ein Fall für absolute Positionierung innerhalb dieses Containers.
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 :/