Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使Sidr(jQuery插件)介于固定页眉和页脚之间?_Jquery_Css_Sidr - Fatal编程技术网

如何使Sidr(jQuery插件)介于固定页眉和页脚之间?

如何使Sidr(jQuery插件)介于固定页眉和页脚之间?,jquery,css,sidr,Jquery,Css,Sidr,有人知道如何让Sidr介于固定页眉和页脚之间吗 我的页眉和页脚的CSS基本上如下所示: .header { position: fixed; width: 100%; height: 100px; background: #bada55; top: 0; } .footer { position: fixed; width: 100%; height: 100px; background: #bada55; bottom: 0; } 当前,当切换Sidr时,它将推动页眉和页脚以及正文内容 编

有人知道如何让Sidr介于固定页眉和页脚之间吗

我的页眉和页脚的CSS基本上如下所示:

.header {
position: fixed;
width: 100%;
height: 100px;
background: #bada55;
top: 0;
}

.footer {
position: fixed;
width: 100%;
height: 100px;
background: #bada55;
bottom: 0;
}
当前,当切换Sidr时,它将推动页眉和页脚以及正文内容


编辑:fiddle添加:jsfiddle.net/lnpx6me

请在此处创建一个fiddle: