任务3:请在右侧编辑器中补全代码,使用position定位方法实现#right的自适应宽度横向排版,且它与#mid之间的间距为17px。都说了是自适应宽度排版,很多人去吧宽度定死去排,还认为是正确的?
2017-06-25
#wrap{width:970px; marring:0 auto;}
#mainbody{position: relative;margin-top:15px;}
#left{ float:left; width:110px; }
#mid{ float:left;width:650px;border:1px solid #999; marrign-left:13px;}
#right{ float:right;border:1px solid #999; position:absolute;top:0; left:780px;}
#mainbody{position: relative;margin-top:15px;}
#left{ float:left; width:110px; }
#mid{ float:left;width:650px;border:1px solid #999; marrign-left:13px;}
#right{ float:right;border:1px solid #999; position:absolute;top:0; left:780px;}
2017-06-20