自动居中布局:margin:0 auto;
横向两列排版:float:left;margin:0 13px 0 0;
绝对定位:pisition:relative;position:absolute;top:0;left:790px;
横向两列排版:float:left;margin:0 13px 0 0;
绝对定位:pisition:relative;position:absolute;top:0;left:790px;
2015-11-01
<script>$(function(){var items=$("#nav").find("li[class!=qq_lab]").find("a");items.each(function(){var _item=$(this);$(_item).bind("click",function(){$(this).parent().parent().find("li[class=current]").removeClass("current");
$(this).parent().addClass("current");});})});</script>
$(this).parent().addClass("current");});})});</script>
#wrap{width:970px; margin:0 auto;}
#mainbody{position:relative; margin-top:15px;}
#left{float:left;width:110px;border:1px solid #999;}
#mid{float:left;margin-left:13px;width:650px;border:1px solid #999;}
#right{position:absolute;margin-left:790px;border:1px solid #999;}
不一定对,这是我能做出的最好的效果了
#mainbody{position:relative; margin-top:15px;}
#left{float:left;width:110px;border:1px solid #999;}
#mid{float:left;margin-left:13px;width:650px;border:1px solid #999;}
#right{position:absolute;margin-left:790px;border:1px solid #999;}
不一定对,这是我能做出的最好的效果了
2015-10-31
*{margin:0; padding:0;}
#wrap{width:970px;height:100%; }
#mainbody{position:relative; margin-top:15px;}
#left{position:absolute; width:110px; }
#mid{position:absolute;top:0;margin-left:123px;width:650px;border:1px solid #999;}
#right{position:absolute;margin-left:790px;border:1px solid #999;}
#wrap{width:970px;height:100%; }
#mainbody{position:relative; margin-top:15px;}
#left{position:absolute; width:110px; }
#mid{position:absolute;top:0;margin-left:123px;width:650px;border:1px solid #999;}
#right{position:absolute;margin-left:790px;border:1px solid #999;}
2015-10-30