将自定义 css 文件添加到 Facebook“活动提要" [英] Adding a custom css file to a Facebook "Activity Feed"

查看:19
本文介绍了将自定义 css 文件添加到 Facebook“活动提要"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以将自定义 css 文件添加到活动提要 (http://developers.facebook.com/docs/reference/plugins/activity).

I would like to know if there is a way to add a custom css file to an activity feed (http://developers.facebook.com/docs/reference/plugins/activity).

我试过添加一个 css="url.to.css" 属性,但是没有用.谢谢

Ive tried adding a css="url.to.css" property, but it didnt work. Thanks

推荐答案

使用方式:

<fb:tag name='link'>
<fb:tag-attribute name='rel'>stylesheet</fb:tag-attribute>
<fb:tag-attribute name='href'>YOUR_FACEBOOK_CANVAS_PAGE/style.css</fb:tag-attribute>
<fb:tag-attribute name='type'>text/css</fb:tag-attribute>
<fb:tag-attribute name='media'>all</fb:tag-attribute>
</fb:tag>

它将被添加到您的页面.不要忘记编辑网址.

It will be added to your page. Don't forget to edit URL.

这篇关于将自定义 css 文件添加到 Facebook“活动提要"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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