共享点2013-html"& quot;公告Webpart中的问题 [英] Sharepoint 2013 - html """ problem in announcement webpart

查看:51
本文介绍了共享点2013-html"& quot;公告Webpart中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试按照以下步骤在公告列表中插入Comic Sans字体:

"span style =" font-family:&"comic sans&","comic sans ms&",草书"?/span<< ; span style ="font-family:&" comic sans&,&" comic sans ms&,草书;">测试</span>/p"/p>

保存后,看起来不错.但是,当我将公告Web部件插入其他共享点页面(主页)时,漫画sans字体不起作用.

我使用F12开发人员工具在chrome中对其进行了检查,发现类似html的

","span style =""font-family:" comic =" sans,="""comic =" sans =" ms",=".草书;"=",测试"/"span","

似乎是&"导致页面中出现一些奇怪的行为,并使字体无法正常工作.其他字体没有问题(到目前为止,我尝试使用4至5种字体).

有人对此有线索吗?

解决方案

leopc,您正在以错误的方式进行操作.您应该创建一个CSS文件并指向它.


Hi guys,

i trying to insert Comic Sans fonts to an announcement list as per below:

"<span style="font-family: &quot;comic sans&quot;, &quot;comic sans ms&quot;, cursive;">?</span><span style="font-family: &quot;comic sans&quot;, &quot;comic sans ms&quot;, cursive;">testing</span></p>"

After saved, it looks fine. however when I insert the announcement webpart into other sharepoint page (homepage), the comic sans font doesn't work..

I checked it using F12 developer tools in chrome, found that the html like :

"<span style="font-family:" comic="" sans",="" "comic="" sans="" ms",="" cursive;"="">​testing</span>"

It seems like the "&quot;" caused some weird behaviour in the page and making the font doesn't work.. There is no problem with other fonts (i tried 4 to 5 fonts so far)..

Any one have clue on this?

解决方案

Hi leopc- you're going about this the wrong way. You should create a CSS file and point to it instead.


这篇关于共享点2013-html&quot;&amp; quot;公告Webpart中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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