CSS到SharePoint页面 [英] CSS to a SharePoint page

查看:99
本文介绍了CSS到SharePoint页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用自定义母版页,页面布局和CSS的子站点.该网站没有任何问题.

I am working on a subsite with custom master page, page layout, CSS. This site works with no issues. 

我在此站点上创建了一个子站点,并使用相同的页面布局.当我将Webpart添加到区域中时,它在框架中的位置不佳,因此我需要添加CSS.我已经将div添加到了webpart区域中,并在先前的站点(如上所述)中添加了CSS.

I created a subsite on this site and using the same page layout. When I add a webpart to a Zone it is not sitting up well with in the frame so I need to add CSS. I already added div's to webpart zones and added CSS on the previous site (discussed above). 

那我该如何在网站上添加Div和CSS?

So how do I add Div's and CSS to this site?

谢谢

@R

推荐答案

是否要将CSS添加到子网站的页面中?

Do you want to add CSS into a page of subsite?

您可以在页面上插入内容编辑器Web部件,然后将CSS代码添加到Web部件的HTML源中.

You can insert a Content Editor Web part on the page, then add your CSS code into the HTML source of the web part.

或者,您可以在页面上插入脚本编辑器Web部件,然后在其中添加CSS代码.

Or, you can insert a Script Editor web part on the page, then add CSS code into it.

更多信息,您可以参考它:

More information, you can refer to it:

https://sharepoint.protiviti.com/blog/Lists/Posts/Post .aspx?ID = 169

谢谢

Wendy


这篇关于CSS到SharePoint页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆