两者在Firefox中都工作得很好
该网站为http://tryalloutdoor.co.uk/
我比较了页面的源码(对于BF类的box)。FF提供:
<div class="fb-like-box fb_iframe_widget " data-header="true" data-stream="false" data-border-color="#cccccc" data-show-faces="true" data-height="320" data-width="200" data-href="http://www.facebook.com/pages/connexions-ltd/126573034113963">而Chrome的消息来源说:
<div class="fb-like-box" data-href="http://www.facebook.com/pages/connexions-ltd/126573034113963" data-width="200" data-height="320" data-show-faces="true" data-border-color="#cccccc" data-stream="false" data-header="true"></div>在Chrome中使用开发工具时,元素显示
"div.fb-like-box 200pxx0px“
类似的
“类似div.fb的710pxx0px”
有什么建议吗?
伙计们,请帮帮我。我的问题是如此简单还是如此愚蠢以至于没有人给出建议?
发布于 2011-11-13 02:07:02
尝试将您的html标记更改为:
<html xmlns:fb="http://www.facebook.com/2008/fbml">https://stackoverflow.com/questions/8043653
复制相似问题