在内容编辑器Web部件或脚本编辑器Web部件中使用CSS [英] Use CSS in Content Editor Web Part or Script Editor Web Part

查看:75
本文介绍了在内容编辑器Web部件或脚本编辑器Web部件中使用CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用带有CSS的脚本编辑器Web部件来更改SharePoint 2013 on the prem页面上的页面查看器Web部件。它不起作用。我看过几个网站,认为这是可能的,但没有任何工作。脚本编辑器Web部件是
仅用于javascript吗?

解决方案

只需使用内容编辑器Web部件并嵌入< script>你的javascript之前和之后的标签。你很高兴。




希望这有帮助!


------- -------------------------------------------------- ------------------------------------------------


请不要忘记" mark 
回复为答案
" 如果有帮助,也设置" 喜欢 "
这是我们保持博客的一个推动力 
J


点击  here  到
了解详情。访问专用的
社区 论坛    分享 ,  探索  和  谈话  到
专家关于Microsoft Kaizala。



I'm trying to use the Script Editor Web Part with CSS to change a Page Viewer Web Part on my SharePoint 2013 on prem page. It's not working. I've looked at several sites that suggest this is possible but nothing is working. Is the Script Editor web part just for javascript?

解决方案

Just use a content editor web part and embed the <script> tags before and after your javascript. you are good to go .

Hope this helps!

---------------------------------------------------------------------------------------------------------

Please don't forget to "mark the replies as answers" if they helped, also set "like" it’s a boost for us to keep blogging J

Click here to learn more. Visit the dedicated Community forum to shareexplore and talk to experts about Microsoft Kaizala.


这篇关于在内容编辑器Web部件或脚本编辑器Web部件中使用CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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