Is it possible to set a fluid width for Facebook's social plugins?

后端 未结 29 1443
粉色の甜心
粉色の甜心 2020-12-22 18:52

I\'m developing a site around the \"responsive design\" concept, but the facebook social plugins are static width and \"break\" the layout when it\'s re-sized.

Using

29条回答
  •  时光取名叫无心
    2020-12-22 18:55

    I've just tried this and it appears there is now a

    within the iframe that has a fixed width, meaning you now actually need to remove the style tag with javascript to make it fluid.

    EDIT: You can't access the iframe content with JS because it's coming from another domain

提交回复
热议问题