关于CSS的问题 IE浏览器不能正常显示 其他浏览器基本上都是正常显示的
贴一下代码<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xh...
贴一下代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
body{
text-align:center;
background-color:#000000;
}
#divimg{
width:100%;
height:100%;
position:absolute;
left:0px;
top:0px;
z-index:999;
}
#divflash{
position: absolute;
z-index: 1;
left: 0px;
top: 0px;
width:100%;
height:100%;
}
#2
{
position: relative;
margin: auto 0;
}
</style>
</head>
<body>
<div id="2">
<div id="divflash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="600" title="main">
<param name="movie" value="网页弹窗/main[1].swf" />
<param name="quality" value="high" />
<param name="wmode " value="transparent ">
<embed src="网页弹窗/main[1].swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="600"></embed>
</object>
</div>
<div id="divimg"><img src="网页弹窗/tou.png" /></div>
</div>
</body>
</html>
其实就是把FLASH当成底层 在上面贴一层透明的PNG图片 但是IE6 8我都不能正常显示 求解答 展开
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
body{
text-align:center;
background-color:#000000;
}
#divimg{
width:100%;
height:100%;
position:absolute;
left:0px;
top:0px;
z-index:999;
}
#divflash{
position: absolute;
z-index: 1;
left: 0px;
top: 0px;
width:100%;
height:100%;
}
#2
{
position: relative;
margin: auto 0;
}
</style>
</head>
<body>
<div id="2">
<div id="divflash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="600" title="main">
<param name="movie" value="网页弹窗/main[1].swf" />
<param name="quality" value="high" />
<param name="wmode " value="transparent ">
<embed src="网页弹窗/main[1].swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="600"></embed>
</object>
</div>
<div id="divimg"><img src="网页弹窗/tou.png" /></div>
</div>
</body>
</html>
其实就是把FLASH当成底层 在上面贴一层透明的PNG图片 但是IE6 8我都不能正常显示 求解答 展开
1个回答
展开全部
把
<div id="divflash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="600" title="main">
<param name="movie" value="网页弹窗/main[1].swf" />
<param name="quality" value="high" />
<param name="wmode " value="transparent ">
<embed src="网页弹窗/main[1].swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="600"></embed>
</object>
</div>
改成:
<div id="divflash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="779" height="148">
<param name="movie" value="网页弹窗/main[1].swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
</object>
</div>
<div id="divflash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="600" title="main">
<param name="movie" value="网页弹窗/main[1].swf" />
<param name="quality" value="high" />
<param name="wmode " value="transparent ">
<embed src="网页弹窗/main[1].swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="600"></embed>
</object>
</div>
改成:
<div id="divflash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="779" height="148">
<param name="movie" value="网页弹窗/main[1].swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
</object>
</div>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询