[英]Image size difference between chrome and internet explorer 11
因此,在进行了一些修改并从这里获得帮助之后,我得到了它在各种浏览器上的工作。 自从我两次设置高度以来,这似乎很奇怪,但这是按预期的方式对IE11起作用的唯一方法。
家长班:
.postBox{
height: 100px;
width: 220px;
margin-bottom:15px;
display: flex;
cursor :pointer;
/* to fix IE11 */
min-height:1px;
padding: 10px 0 0 0px;
}
子图像类:
.postImage {
padding: 0 0 0 15px;
border-radius: 2px;
/* to fix IE11 not working */
max-height:50px;
max-width:50px;
height: 50px;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.