产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

tabs标签在chrome 不兼容问题 IE正常【解决非js问题,css问题】 [复制链接]

1#
<dl id="tabhead"  class="tabheadstyle">
<dd style="margin-left:10px"><span>推荐线路</span></dd>
<dd><span>周边旅游</span></dd>
<dd><span>国内短线</span></dd>
<dd><span>国内长线</span></dd>
<dd><span>港澳台游</span></dd>
<dd><span>境外旅游</span></dd>
<dd><span>更多线路</span></dd>
</dl>
<dl id="tabcontent"  class="tabcontentstyle" >

<dd>{paodel}1,146,0,,,_self,5,50,150,150{/paodel}</dd>
<dd>{paodel}1,129,612,,,_self,5,50,235,160{/paodel}</dd>
<dd>{paodel}1,129,613,,,_self,5,50,235,160{/paodel}</dd>
<dd>{paodel}1,129,617,,,_self,5,50,235,160{/paodel}</dd>
<dd>{paodel}1,129,614,,,_self,5,50,235,160{/paodel}</dd>
<dd>{paodel}1,129,606,,,_self,5,50,235,160{/paodel}</dd>

<dd>


{paodel}1,145,0,,,_self,10,50,150,150{/paodel}

</dd>

</dl>
<img src="/images/bot950x15.gif">
<script type="text/javascript">
//tabs("tabhead","tabcontent","onclick");
//tabs方法的简化调用(3个必填参数),前两个参数分别为标题和内容区的id,第三个参数可onmouseover或onclick///完整参数调用写法(6个参数): tab("tabhead","tabcontent","dd","dd","current","onmouseover")
tabs("tabhead","tabcontent","dd","dd","current","onclick");

</script>

ie效果如下


chrome
分享 转发
TOP
2#

谢谢确实为css问题
上面有一个模块,线面tabs模块自动靠右对其了,在他们之间加了个
<div style="clear:both"></div>
TOP
发新话题 回复该主题