SharePoint 2013 隐藏页面的Ribbon ,菜单等非内容元素。_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:45:17
Original
1076 people have browsed it

SharePoint 2013 隐藏页面的Ribbon ,菜单等非内容元素。

加上如下样式,就剩一个干净的页面,你可以这个页面做内容嵌套等操作。非常有用。

部分代码 有胡祥文编写。

#s4-workspace {

overflow:hidden;
}


#s4-titlerow{
display:none !important;
}


// 隐藏Ribbon 

#s4-ribbonrow{
display:none !important;
}


#suiteBar{
display:none;
}


#sideNavBox{
display:none;
}


#contentBox{
margin:0;
}


.welcome-content{
display:none;
}  


#contentRow {
padding-top:0px !important;
}
#showContent{
margin: -150px 0px 0px -200px;
}
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!