如何将滚动条添加到jQuery选项卡 [英] How to add a scrollbar to jQuery tabs

查看:81
本文介绍了如何将滚动条添加到jQuery选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请访问我的页面

如果你点击其他标签,你会看到我的问题是什么。选项卡DIV将覆盖我的包装线。
我试图弄清楚是否有任何选项可以添加滚动,而且没有!

And if you click other tabs, you'll see what my problem is. The tab DIV will go over the line of my wrapper. I tried to figure out if there's any option to add scroll or not, and there is not!

还尝试将高度值设置为标签的DIV 。但它没有用。

Also tried to set the height value to DIV of tab. But it didn't work.

我想要的是在标签DIV中添加一个scoll。
所以无论标签的内容有多长,Wrapper DIV保持不变。

What I want is to add a scoll IN the tab DIV. so no matter how long the content of tab is, the Wrapper DIV stays the same.

感谢您的帮助!

推荐答案

此CSS规则应该足够了:

This CSS rule should be enough:

#tabs {
    height:100%;
    overflow-y:auto;
}

这篇关于如何将滚动条添加到jQuery选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆