清风细雨楼 Design By www.eepep.com

html结构:

复制代码代码如下:
<div class="tab tab_survey">
<div class="tab_hd clearfix"><a class="curr" href="#">单题目调查</a><a href="#">多题目调查</a></div>
<div class="tab_bd">
<div class="tab_cont curr">
<ul class="list_survey_content">
<li>测试</li>
<li>测试</li>
<li>测试</li>
</ul>
</div>
<div class="tab_cont"></div>
</div>
</div>

CSS:
[code]
.tab_hd{ border-left:1px solid #ccc; margin-bottom:-1px; line-height:25px; }
.tab_hd a{ float:left; width:100px; height:24px; color:#1E50A2; border-top:1px solid #ccc; border-right:1px solid #ccc; text-align:center;}
.tab_hd .curr{ font-weight:bold;height:25px; background-color:#fff; position:relative;}
.tab_bd{ border:1px solid #ccc; padding:10px; border-bottom-left-radius:5px; border-bottom-right-radius:5px;}
.tab_cont{ display:none;}
.tab .tab_bd .curr{ display:block;}
[html]

清风细雨楼 Design By www.eepep.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
清风细雨楼 Design By www.eepep.com