0
我想限制一个在Chrome和Moz中工作的图片,但Safari不是。基本上,我这样做:Safari的最大高度限制图片
.brewery_logo img{
max-height:64px;
width:auto;
margin:0 auto;
display:block;
}
在Safari它持有的最大高度,但拉伸图像的宽度,以它的实际大小。在其他浏览器中,它会设置最大高度并按比例设置宽度。有任何想法吗?