jQuery UI Tabs not hiding inactive tabs on load

孤街醉人 提交于 2019-12-01 19:42:15

Bit crude as it doesn't address the root of the problem but it sure solved it; i simply added the following to my stylesheet.

    <style>
        .ui-tabs-hide { display: none; }
    </style>`

Hope it helps someone.

I've been having the same problem. Try adding this exact chuck in your style sheet.

div .ui-tabs .ui-tabs-hide {
display: none;
}

For some reason I keep getting a style...

div {display: block;}

...that kept overriding my .ui-tabs-hide fix that Ronald provided.

Hope this helps,

Rock

Add this to your css:

.ui-tabs-hide { 
    display: none !important; 
 }

The !important assures that nothing else will override this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!