我有以下的HTMLHTML DIV不来embed`对象的'顶 - IE
<embed class='pdf_container' src='welcome.pdf' style ='width:100%;height:500px;' ></embed>
<div id="show_message" class='message_wrapper' >
<div id="message_content"> The requested operation ... </div>
</div>
和CSS
.message_wrapper{
position:fixed;
z-index:1000;
height:100px;
width:100%;
background:red;
top:0;
left:0;
}
.pdf_container{
position:absolute;
top:0;
left:0;
z-index:100;
}
其实我想展示#show_message
在.pdf_container
,它在Firefox中运行良好,但不在IE
中,它忽略了z-index
。
请帮我弄清楚这个问题。
谢谢。
见截图:
在IE
和FF
其工作中即罚款,以及...这也就是乌尔谈论 – supersaiyan 2013-03-06 09:38:24
请注明IE版本 – Sreekumar 2013-03-06 09:44:14
遗憾的是它并不在IE的任何版本的工作(或至少IE8,9) – rafiq 2013-03-06 09:48:12