5

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?

Lumpy
  • 3,632
  • 4
  • 34
  • 58

1 Answers1

5

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

Community
  • 1
  • 1
munnster79
  • 578
  • 3
  • 16