body{
margin:0 auto;
width:950px;
font-size:12px;
text-align:center;
}
#wholebody{
width:950px;
}
.newline{/*仅应用于右侧*/
clear:both;
width:700px;
}
#top{
height:auto;
}
.left_square{
}
.right_square{
}
#topic{
height:100px;
}
#left{
float:left;
width:250px;
}
#left_qq{
height:80px;
}
#left_inquire{
height:220px;
}
#left_master_page{
height:200px;
}
#left_online{
height:220px;
}
#left_keyword{
height:140px;
}
#left_aboutus{
height:200px;
}
#right{
float:left;
width:700px;
}
#right_flash{
width:700px;
height:300px;
float:left;
}
#right_chara{
width:350px;
float:left;
height:200px;
}
#right_master_answer{
width:350px;
float:left;
height:200px;
}
#right_knowledge{
clear:both
}
.knowledge{
float:left;
width:140px;
height:360px;
}
#right_research{
float:left;
width:50%;
height:200px;
}
#right_recommend{
float:left;
width:50%;
height:200px;
}
res
rec
var divs=document.getElementsByTagName("div");
var m=0;
for(i=0;i
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
推荐阅读
javascript弹出一个层并增加一个覆盖层
复制代码 代码如下:<!--内容层--> <div id="ShopConfirmLayer" style="position:absolute;top:300px;left:100px;z-index:900;border:1px red solid;width:500px;display:none;"> <input name="button1" value="关闭>>>详细阅读
本文标题:javascript布局查看器效果代码
地址:http://www.17bianji.com/kaifa2/JS/29340.html
1/2 1