大多数浏览器支持CSS的标签,如fb:like? [英] Do most browsers support CSS for tags such as fb:like?

查看:139
本文介绍了大多数浏览器支持CSS的标签,如fb:like?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大多数浏览器支持

<fb:like ... >    </fb:like>

(这是一个Facebook XFBML标记)。 命名空间:标签名实际上是命名标签的标准的一部分吗?

(which is a Facebook XFBML tag). Is the namespace:tagname actually part of the standard of naming tags?

很少像我一样直接创建样式

Also, how about CSS support? Seldom do I directly style it like

fb:like { font-size: 11px }

但对于有经验的人来说,它是否适用于大多数现代浏览器? (IE 6吗?)有任何情况下,它不工作,甚至崩溃浏览器?

but for people who are experienced with it, does it work with most modern browsers? (IE 6 too?) Is there any case where it doesn't work or even crash a browser? Probably some of the mobile browsers are not so well equipped to handle this.

推荐答案

表单命名空间标记的浏览器处理:标记名是非常不同的IE到其他浏览器和绝对不标准化。然而,似乎在你的特定情况下,元素的样式是相当简单。使用:

Browser handling for tags of the form namespace:tagname is very different in IE to other browsers and is definitely not standardized. However, it seems that in your particular case styling of the element is quite straightforward. Use:

fb\:like { font-size: 11px }

在IE6,IE7,Firefox 3.6和Chrome 10中测试并运行。

Tested and working in IE6, IE7, Firefox 3.6 and Chrome 10.

这篇关于大多数浏览器支持CSS的标签,如fb:like?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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