jQuery tabs: panel covers tabs at 100% height

后端 未结 10 860
生来不讨喜
生来不讨喜 2021-01-11 13:15

I\'m trying to use the tabs widgets of jQuery-UI having panels content to extend to the whole available space.

Here\'s a simplified version of what I\'ve got so far:

10条回答
  •  北海茫月
    2021-01-11 13:39

    Is this what you're after?

    http://jsfiddle.net/MhEEH/5/

    html, body {
        height: 100%;   
    }
    #tabs {
        position: absolute;
        top: 0;
        bottom:0;
        left: 0;
        right: 0;
    }
    #tab-1 {
        background: green;
        height: 100%;
    }
    

提交回复
热议问题