<div style="overflow:hidden; height:100px; width:100px;">
<img src="etc.jpg" width:"100px" /></div>
I’ve got an img into a div. The height of the img is undefined but it is bigger than the 100px of the div.
I want to vertical center the img and hide the top and bottom overflow.
Still I can’t understand how to do this…
Daniele
Does this work for you?
Hmmm the result is a bit weird when the image does fit