I have an image tag, size 100x75. 开发者_如何学编程The image it is holding is scaled down from 150x112. I don't want the image scaled down, that much, but I still want the container img tag to be 100x75, thus cliipping off some of the outer parts of the image. How would I do this?
css:
.wrapper {
width : 100px;
height : 75px;
overflow : hidden;
}
html:
<div class="wrapper">
<img src="...">
</div>
精彩评论