Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/85.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 在IE 8中的上覆盖一个DIV_Html_Text_Internet Explorer 8_Overlap - Fatal编程技术网

Html 在IE 8中的上覆盖一个DIV

Html 在IE 8中的上覆盖一个DIV,html,text,internet-explorer-8,overlap,Html,Text,Internet Explorer 8,Overlap,我无法在IE-8中的嵌入式文本文件上重叠DIV。这在IE-9、Firefox中是有效的。我尝试过使用WMODE Transaprent、不透明和Z索引属性 下面是我的代码 <object data="abc.txt" type="text/html" width="300" height="200" > </object> <div id="div1" style=" background:green; position:absolute; width:100%;

我无法在IE-8中的嵌入式文本文件上重叠DIV。这在IE-9、Firefox中是有效的。我尝试过使用WMODE Transaprent、不透明和Z索引属性

下面是我的代码

<object data="abc.txt" type="text/html" width="300" height="200" > </object>

<div id="div1" style=" background:green; position:absolute; width:100%; height:100%; top:0px; left:0px; filter:alpha(opacity=50)"></div>
如果我尝试嵌入一个.WAV或.SWF文件,DIV会覆盖在IE-8中,但text/html中不会出现这种情况