就这个,CSS控制的,不需要js自然不会有晃动
.quickmenubox {
width: 975px;
height: ;
_margin: 0 0 -1px -7px;
background: url('/images/common/QuickMenu_BG.png') transparent no-repeat 0 top;
position: fixed;
_position: absolute;
bottom: 0px;
z-index: 50000;
}
.quickmenubox {
width: 975px;
height: ;
_margin: 0 0 -1px -7px;
background: url('/images/common/QuickMenu_BG.png') transparent no-repeat 0 top;
position: fixed;
_position: absolute;
bottom: 0px;
z-index: 50000;
}
解决方案 »
- 求jquery最大化浏览器的方法?
- 鼠标经过一行tr 里面的td td里面的文字变色
- 这种情况如何解决?jQuery怎么选择得到<c:forEach标签 高手指教~~~~~~`
- jquery搜索问题 不信这么小的问题就没有人知道
- 求助老鸟们 介绍些好用的JS加密 混淆 工具
- 很多论坛登陆后,鼠标移到“我的”或“控制面板”会弹出一个菜单,这样的弹出菜单是怎么实现的,最好有代码。
- 请教一个图片刷新问题
- 跪求菜单导的菜单样式.
- ^\d{5}(-\d{4})?$ 这验证规则代表什么?在线等待
- 征VBScript和JavaScript使用心得
- Javascript正式表达式问题
- <a>标签如果是一个字符串中该怎么传值呢?
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
body {
margin: 0;
padding: 0
} .fixed {
position: fixed;
bottom: 0;
width: 800px;
height: 50px;
left: 160px;
top: 300px;
background: #FF0000;
margin-left: -150px /*为.fixed宽的一半*/;
margin-top: -150px /*为.fixed高的一半*/;
background: #006633
}
</style>
<!--以下是为了兼容IE6的hack-->
<!--[if IE 6]>
<style type="text/css">
html{overflow:hidden;}
body{height:100%;overflow:auto;}
.fixed{position:absolute;}
</style>
<![endif]-->
</head>
<body>
<div class="fixed">
{position:fixed}
</div>
<table width="100%" border="1">
<script>
for(var i=0;i<100;i++){
document.write("<tr>");
document.write("<td>aaaa</td>");
document.write("<td>aaaa</td>");
document.write("<td>aaaa</td>");
document.write("</tr>");
}
</script>
</table>
</body>
</html>