jQueryUI选项卡-仅滚动内容 [英] jQueryUI Tabs - Scroll content only
本文介绍了jQueryUI选项卡-仅滚动内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当内容很大时,如何始终使标签标题始终可见.我希望内容可以滚动,但标签页头不要.
How do I keep the tab headers visible always when there is large content. I wish the content to scroll, but the tab headers to not.
在此屏幕快照中,我将页面设置为100%H和W,并希望滚动条仅滚动内容.
In this screen shot I have set the page to be 100% H and W and want scroll bars to scroll content only.
如您所见,滚动条也会影响选项卡标题.
As you can see the scroll bar affects the tab headers too.
推荐答案
尝试为标签容器设置最大高度,并向其添加CSS样式 overflow-y .
Try set max height for your tab container, and add css style overflow-y to it.
这篇关于jQueryUI选项卡-仅滚动内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文