Internet Explorer 10和11在打印时没有显示白色背景颜色和盒子阴影。
HTML代码:
<div class="note">
<span>Clears buy point in weak post-holiday trade.</span>
</div>
CSS代码:
body {
background-color: yellow;
}
.note {
border: 0px solid rgb(64, 64, 64);
background-color: #ffffff;
background-color: rgb(255, 255, 255);
top: 40px;
left: 40px;
position: absolute;
width: auto;
color: rgb(64, 64, 64);
overflow: hidden;
cursor: default;
opacity: 1;
background-position: initial initial;
background-repeat: initial initial;
-webkit-box-shadow: 3px 9px 20px rgba(50, 50, 50, 0.8);
-moz-box-shadow: 3px 9px 20px rgba(50, 50, 50, 0.8);
box-shadow: 3px 9px 20px rgba(50, 50, 50, 0.8);
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
span {
padding 5px;
}
Thank you in advance.
media=screen
? - Jason Aller<style type="text/css" media="print">
来链接它。@jason-aller - Kirkian N.