我有以下布局: -
html: -
<header>
<div class="content-wrapper">
<div id="headerContainer">
<div class="headerProfileNotifications">
<img src="Images/" alt="notification" />
</div>
<div class="headerProfilePhoto">
<img src="Images/" alt="profile_photo" />
</div>
<div class="headerProfileDetails">
<div class="headerProfileName">John Smith</div>
<div class="headerProfileEmail">john.smith@someemail.co.uk</div>
</div>
</div>
</div>
</header>
和CSS: -
header {
padding-bottom: 5px;
}
#headerContainer {
height: 33px;
background-position: 10px 2px;
padding-top: 2px;
}
.headerProfileNotifications {
float: right;
height: 22px;
width: 29px;
padding-right: 4px;
margin: 5px;
}
.headerProfilePhoto {
float: right;
height: 33px;
width: 22px;
margin: 5px;
}
.headerProfileDetails {
float: right;
padding-right: 4px;
font-size: 11px;
}
.headerProfileName {
margin-top: 2px;
float: right;
}
.headerProfileEmail {
margin-top: 0px;
}
然而,它看起来Chrome/Firefox,
和它应该的样子是一样的,但IE,
它的显示方式不同。
css
我必须申请什么IE
才能看起来完全一样Chrome/Firefox?
感谢您的帮助和时间