客戶端取得了通過微軟邊緣觀看時,有些圖片不能正常工作了點,但工作完全找到使用Chrome,火狐甚至老版本的IE:爲什麼我的圖像不能在Microsoft Edge中顯示?
我的代碼非常簡單:
.card .staff_pic {
width: 100%;
height: 100%;
}
.card .linkedin-icon {
margin-top: 10px;
}
.card {
height: 100%;
width: 20%;
overflow: hidden;
position: relative;
float: left
}
.card_content {
background-color: rgba(255, 255, 255, 0.5);
padding: 20px;
width: 100%;
height: 90%;
position: absolute;
bottom: -400px;
transition: all .5s ease;
color: #fff
}
.card_content h3 {
font-size: 28px;
margin-top: 1.5em;
color: #fff;
margin-bottom: 0px;
}
.card_content p {
font-size: 18px;
color: white;
}
.card:hover .card_content {
background-color: rgba(151, 145, 59, 0.8);
bottom: 30px;
}
<div class="card">
<img class="staff_pic alignnone size-medium wp-image-4306" src="http://www.carleyconsult.com/wp-content/uploads/2014/10/David.png" alt="David" />
<div class="card_content">
<h3>David Durham</h3>
Head of Bid Management & Consultancy Services
<a href="#" target="_blank">
<img class="linkedin-icon alignnone size-full wp-image-4321" src="../wp-content/uploads/2014/10/linkedin.png" alt="linkedin" width="37" height="36" />
</a>
</div>
</div>
任何幫助不勝感激。
更正了鏈接 – MrJoshFisher
它在Edge中對我很好。如果這是在一個活的網站,你可以發佈的網址? –
http://www.carleyconsult.co.uk/about-us/是顯然有問題的地址 – MrJoshFisher