#wrap{width:970px;margin 0 auto;}
#mainbody{position:relative; margin-top:15px;}
#left{width:110px; position:absolute;}
#mid{position:absolute; width:650px;border:1px solid #999;left:123px;}
#right{left:790px;border:1px solid #999;position:absolute;}
#mainbody{position:relative; margin-top:15px;}
#left{width:110px; position:absolute;}
#mid{position:absolute; width:650px;border:1px solid #999;left:123px;}
#right{left:790px;border:1px solid #999;position:absolute;}
2016-01-09
自动布局一列布局:
标准文档流
块级元素
margin属性
class的type 中使用 .className{}
ID的typr中使用, #ID{}
标准文档流
块级元素
margin属性
class的type 中使用 .className{}
ID的typr中使用, #ID{}
2016-01-09
wrap{width:970px; margin: 0px auto}
#mainbody{position: relative; margin-top:15px;}
#left{position: relative width:110px; }
#mid{position: absolute;top: 0px; width:650px;border:1px solid #999;left: 109px;}
#right{top:0px;position: absolute; float: right; border:1px solid #999;margin-left: 800px
}
#mainbody{position: relative; margin-top:15px;}
#left{position: relative width:110px; }
#mid{position: absolute;top: 0px; width:650px;border:1px solid #999;left: 109px;}
#right{top:0px;position: absolute; float: right; border:1px solid #999;margin-left: 800px
}
2016-01-06