css 实现的头部固定导航栏
[html]
<html>
<style>
html,body {overflow:hidden;margin:0px;width:100%;height:100%;}
#top{height:30px; background:url(images/top_bg.gif) repeat-x;position:relative;z-index:2008;top:0px;left:0px;}
#wraper{ background:#ffffff; text-align:center;width:100%;overflow:scroll;height:100%;border:0px ridge;position: absolute!important;}
</style>
<body>
<div id="top">top</div>
<div id="wraper">
<div style="height:5000px;border:1px solid red;"></div>
</div>
</body>
</html>
[/html]