Reputation: 3652
I am trying to style the snapwidget instagram feed, I want to make the border white. This is not a setting of the widget so I tried adding css. It seems that my css is not being detected since the content is in an iframe. Is there a way to force my css on the iframe content?
Upvotes: 5
Views: 5170
Reputation: 578
It won't work unless the iframe is on the same domain due to same origin policy. http://javascript.info/tutorial/same-origin-security-policy
Check out Using CSS to affect div style inside iframe for an explanation
Upvotes: 5