分辨率改变之后下拉菜单(层)位置错乱怎么解决? 相对定位参看http://www.gl-itc.org左上角的菜单 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 www.blizzard.com,这个比较厉害,窗口怎么小都没问题 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><script language="JavaScript" type="text/JavaScript"><!--function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);//--></script></head><body><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"><div id="Layer1" style="position:absolute; width:10px; height:10px; z-index:1"> <div id="Layer4" style="position:absolute; width:200px; height:44px; z-index:3; background-color: #FF00FF; layer-background-color: #FF00FF; border: 1px none #000000; left: -1px; top: 26px;">层...</div> <br/> <div id="Layer3" style="position:absolute; width:200px; height:49px; z-index:2; background-color: #0000FF; layer-background-color: #0000FF; border: 1px none #000000; top: 74px; left: -1px;">层2</div> <br/> <div id="Layer2" style="position:absolute; width:200px; height:46px; z-index:1; background-color: #993333; layer-background-color: #993333; border: 1px none #000000; left: -1px; top: 126px;">层1</div> </div> 层总在我旁边 </td> </tr></table></body></html>参考上面的。试试。 ie8 兼容模式下 不能触发onresize 与js相关的式子 寻求javascript文件压缩工具 这段代码有什么错误 JS超难题 正在提交表单数据,请稍侯 ...... 在javascript的function里能使用include,将其他的js文件包含进来么? 关于jquery的mousewheel事件 关于变量的简单问题! 用innerHTML出来的页面 就不能通过事件句柄调用函数了吗??? 急:请问如何获取客户端IE浏览器使用的字体大小信息? 求元素总数
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head><body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><div id="Layer1" style="position:absolute; width:10px; height:10px; z-index:1">
<div id="Layer4" style="position:absolute; width:200px; height:44px; z-index:3; background-color: #FF00FF; layer-background-color: #FF00FF; border: 1px none #000000; left: -1px; top: 26px;">层...</div>
<br/> <div id="Layer3" style="position:absolute; width:200px; height:49px; z-index:2; background-color: #0000FF; layer-background-color: #0000FF; border: 1px none #000000; top: 74px; left: -1px;">层2</div>
<br/>
<div id="Layer2" style="position:absolute; width:200px; height:46px; z-index:1; background-color: #993333; layer-background-color: #993333; border: 1px none #000000; left: -1px; top: 126px;">层1</div>
</div>
层总在我旁边 </td>
</tr>
</table>
</body>
</html>
参考上面的。试试。