我可以在编辑源中放入什么代码来设置SharePoint站点的宽度和高度?
<style type="text/css">
body {
width: 100%;
height: 100%;
}
</style>上面的脚本不起作用。
发布于 2019-12-12 15:04:44
以下样式供您参考。
<style type="text/css">
body{
width: 100% !important;
height: 100% !important;
}
#s4-workspace{
width: 100% !important;
height: auto !important;
}
</style>在SharePoint站点中,我建议您创建一个响应式母版页来满足您的要求。
请参考此处的解决方案:SharePoint Branding - Responsive Master Page
https://stackoverflow.com/questions/59297269
复制相似问题