页头页脚统一调用:
<object type="text/x-scriptlet" data="public_head.html" width="100%" height="618px"></object>
<object type="text/x-scriptlet" data="footxj.html" width="100%" height="360px"></object>
再到内嵌的页面里取消横向滚动条;
||||
禁止横向滚动条
body
{
overflow-x : hidden;
min-1200px;
}
这里的1200就是版心,也就是说无论页面怎么缩放,始终都能显示他的全部内容