去哪网网站设计风格,西安十大平面广告设计公司,手术室专科建设网站,html进入网页自动播放音乐嗯#xff0c;今天重新玩了下布局#xff0c;把部分布局方式整理了一下#xff0c;也就顺手记了下来。#xff08;都测试过了#xff0c;IE6 ,FF,opera,chromer浏览器现在流行的版本都支持#xff09; 一、三列#xff08;固宽#xff09; div idcontainer今天重新玩了下布局把部分布局方式整理了一下也就顺手记了下来。都测试过了IE6 ,FF,opera,chromer浏览器现在流行的版本都支持 一、三列固宽 div idcontainerdiv idsideBar/divdiv idsideBarS/divdiv idcontent/div/div #container{ margin: 0 auto; width: 950px; overflow: auto; /*在使用过程中IE7有时候会出现问题这时可把值改为“hidden”清除浮动带来的问题*/}#sideBar,#sideBarS{ float: left; width: 250px; height: 500px; background-color:#0CF;}#sideBarS{ float: right!important;}#content{ margin: 0 260px!important; margin: 0 257px; /*这里主要是为了应付IE6*/ height: 500px; background-color:#06F} 二、单行单列高宽均100% 嗯这种情况不算少用特别是弹出的DIV块时就用到了 div idcontainer/div html,body{ padding: 0; margin: 0; height: 100%;}#container{ width: 100%; height: 100%; background-color:#06C;} 转载于:https://www.cnblogs.com/lcq6130/archive/2010/05/28/1746164.html