CSS:
.posting-logo-div {
}
.posting-logo-img {
height: 120px;
width: 120px;
}
.posting-photo-div {
height: 5px;
width: 5px;
position: relative;
top: -140px;
left: 648px;
}
.posting-photo-img {
height: 240px;
width: 240px;
}
HTML:
<div id="image" class="posting-logo-div">
<img
src="../images/some-logo1.jpg"
onerror="this.src='../images/no-logo-120.jpg';"
class="posting-logo-img"
/>
</div>
<div id="photo" class="posting-photo-div">
<img
src="../images/some-logo2.jpg"
onerror="this.src='../images/no-logo-240.jpg';"
class="posting-photo-img"
/>
</div>
This doesn't seem to work in Chrome or Mozilla but does work in IE.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…