我正在使用 IFRAME 创建自定义 Facebook 选项卡,但由于某些奇怪的原因,这个奇怪的边框拒绝消失。我尝试了以下方法:
table, th, td
{
border: 0px;
}
iframe 属性中的 frameborder="0"。
以及各种 CSS 尝试。边界不会消失。
chrome 检查工具显示如下:
(用户代理样式表)
table {
border-collapse: separate;
border-spacing: 2px;
border-color: gray;
}
我没有在代码中的任何地方包含该样式。我能做些什么来解决这个问题,或者这是某种 Facebook 必需的标签功能吗?如果边界必须在那里,我至少可以在所有方面均匀分布吗?!哈哈。
请参阅此页面以查看问题:https://www.facebook.com/hitejinro?sk=app_190322544333196&app_data=visitor_mode
这就是它在我这边的样子:http://i.imgur.com/HJIUp69.jpg
感谢阅读。
最佳答案
边框来自 iframe。您的 iframe 标记似乎格式不正确。改成
<iframe src="http://spuxystudios.com/adwell/psy/index.html" width="850" frameborder="0" height="1900px">....</iframe>
目前是:
<iframe src="http://spuxystudios.com/adwell/psy/index.html" width="850″ frameborder=" 0" height="1900px"></iframe>
看到引号在宽度上不匹配。
关于html - 自定义 Facebook 选项卡上的奇怪边框问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18884565/