http://HdhCmsTestmyfxbook测试数据/members/EA5918/forex-envy-v2-livelong-cycle/260594
上面的是想要实现的页面,只要上面的2个并列的 TAB选项DIV内容 已实现了一个
下面是我的页面代码,希望能够平行2个DIV 第一个DIV 有3个选项 第二个代码我已经实现了
*{margin:0;padding:0;font-size:13px;line-height:1.5; }
body{padding:20px;}
.cur{color:#f60;border-bottom:1px solid #fff;font-weight:bold;background:#fff;cursor:default;}
#tab_,dl{position:relative;float:left;height:355px;width:900px;}
h4,dt{float:left;height:20px;margin:0 0 0 8px;display:inline;line-height:20px;width:102px;
border:1px solid #ccc;position:relative;z-index:11;text-align:center;font-weight:normal;cursor:pointer;background:#eee;
top: 0px;
left: 7px;
}
.c,dd{position:absolute;top:21px;border:1px solid #ccc;left:0;width:939px;
padding:20px;overflow:hidden;display:block;
height: 355px;
}
#tab_{clear:left;
top: 0px;
left: 0px;
}
h1{clear:left;padding:10px 0}
#tab_1.cur{color:#f60}
#tab_2.cur{color:blue}
#tab_3.cur{color:green}
HideWait();
回复讨论(解决方案)
全部分送上啊 求解答
因为你的tab 标签块 有多个,所以要统一设置tab的样式,宽高度的话再独自调整,使用两个class就可以
如:
tab11111
查看更多关于求高手帮忙布局下_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did104332