#wrap{width:970px; margin:0 auto;}
#mainbody{ width:100%; margin-top:15px;}
#left{width:110px; float:left; border:#C03 solid; }
#mid{width:650px;border:1px solid #999;float:left; margin-left:10px;}
#right{float:right;width:180px; border:1px solid #999;}
#mainbody{ width:100%; margin-top:15px;}
#left{width:110px; float:left; border:#C03 solid; }
#mid{width:650px;border:1px solid #999;float:left; margin-left:10px;}
#right{float:right;width:180px; border:1px solid #999;}
2016-12-11
#wrap{width:970px; margin:0 auto;}
#mainbody{position:relative; margin-top:15px;}
#left{float:left;border:1px solid #999;:width:110px; }
#mid{float:left;width:650px;border:1px solid #999;margin-left:13px;}
#right{position:absolute;top:0;margin-left:794px;border:1px solid #999;}
注:left有边框794是对的,核对效果图
#mainbody{position:relative; margin-top:15px;}
#left{float:left;border:1px solid #999;:width:110px; }
#mid{float:left;width:650px;border:1px solid #999;margin-left:13px;}
#right{position:absolute;top:0;margin-left:794px;border:1px solid #999;}
注:left有边框794是对的,核对效果图
2016-12-08
唉呀妈呀, 晚上12点半熬夜学这个课程, 上一节习题完成后眯着眼睡着了, 鼠标不小心点了下一节, 突然出来声音, 像触电一般给吓醒了...
2016-12-07
这是我的答案:
*{margin:0; padding:0;}
#wrap{width:970px; margin:0 auto;}
#mainbody{position:relative; margin-top:15px;}
#left{float:left; width:110px; }
#mid{float:left; margin-left:13px; width:650px;border:1px solid #999;}
#right{position:absolute; top:0; left:790px; border:1px solid #999;}
*{margin:0; padding:0;}
#wrap{width:970px; margin:0 auto;}
#mainbody{position:relative; margin-top:15px;}
#left{float:left; width:110px; }
#mid{float:left; margin-left:13px; width:650px;border:1px solid #999;}
#right{position:absolute; top:0; left:790px; border:1px solid #999;}
2016-12-06