让页面头部不随滚动条滚动的办法(无脚本实现时颤动缺点, 兼容firefox和ie): <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <!--[if lte IE 6]> <STYLE type=text/css> HTML {overflow: hidden;} </STYLE> <![endif]--> <mce:style><!-- #header {left:0px;min-height:50px;} body {margin:0px;} .fixed_crossb {position: fixed;} * html .fixed_crossb {position: absolute;} * html body {overflow-y:auto;height:100%;width:98.5%;} div{border:1px solid red;} --></mce:style><style mce_bogus="1"> #header {left:0px;min-height:50px;} body {margin:0px;} .fixed_crossb {position: fixed;} * html .fixed_crossb {position: absolute;} * html body {overflow-y:auto;height:100%;width:98.5%;} div{border:1px solid red;} </style> </head> <body> <div id="header" class="fixed_crossb"> header 页头<br> header 页头<br> </div> <div style="height:1200px;padding-top:100px;"> content 内容<br> content 内容<br> </div> </body> </html>