2015-09-06 48 views
1

一个网站的iframe我已经在我的网站嵌入Facebook页面:的样式在网站上

<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FIACTTV&width=1200&colorscheme=light&show_faces=true&border_color&stream=true&header=true&height=635" scrolling="yes" style="border:none; overflow:hidden; width:1200px; height:930px; background: white;" allowtransparency="true" frameborder="0"> 
</iframe> 

箱子被显示在500像素宽度了,我似乎无法得到的内容是1200像素。 任何人都有体验ifbox iframe的体验吗?

我已经试过:

iframe #u_0_0 div { 
    width: 1200px !important; 
} 

回答

1

的Facebook只允许最大宽度为它似乎插件500px的

从Facebook开发文档:

宽度 - 插件的像素宽度。闵。是180 &最大。 500

看到here