滑动门代码,请教高手 谢谢

来源:百度知道 编辑:UC知道 时间:2024/06/28 10:47:23
我做的这个滑动门的高度,怎么调整
我的这个是自适应性高度 怎么改成固定高度的呢
请高手帮帮我 有分!!
代码如下:
<p>
<meta http-equiv="Content-Type" content="text/html;" /><style type="text/css" media="screen">
<!--
.ttl{height:10px;}
.ctt{height:auto;padding:6px;clear:both;border:1px solid #064ca1;border-top:4px ridge orange;text-align:left;}
.w936{margin:2px 0;clear:none;width:520px;/*这里调整整个滑动门的宽度*/}
/* TAB 切换效果 */
.tb_{background-image: url(''); background-repeat: repeat-x;background-color: #32539c;text-align:center;}
.tb_ ul{height:24px;}
.tb_ li{float:left;height:24px;line-height:1.9;width: 100px;cursor:pointer;}
.normaltab { background-image:url('');background-repeat: no-repeat; color:#fdfdfd ;}
.hovertab { background-image: url(''); background-repeat: no-repeat; color:#fbf320; font-weight:bold }
.dis{display:block;}
.undis{dis

很简单吧:
1、设置div高度为固定值。
2、把每个div的内容改用table展示。
具体修改如下,仅以tbc_01为例,其他按照这个改就可以了。你可以先替换第一个div看看效果。
----------------------------------------------------------------------
1、样式修改:
.dis{display:block; height:80px;}
2、div修改:
<div class="dis" id="tbc_01">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> <a href="index.aspx?menuid=3&type=introduct&lanmuid=57&language=cn">公司概况</a></td>
<td> <a href="index.aspx?menuid=3&type=introduct&lanmuid=58&language=cn">企业文化</a></td>
<td> <a href="index.aspx?menuid=3&type=introduct&lanmuid=36&language=cn">公司愿景</a></td>
<td> <a href="index.aspx?menuid=3&type=introduct&lanmuid=38&l