1

I have been working with css and html for about 6 months. I am confused: why can't I apply styles to a div which is inside an iframe of my current page?

Matt Ellen
  • 11,268
  • 4
  • 68
  • 90
user3172709
  • 31
  • 1
  • 3

1 Answers1

1

The inner page is independent when it comes to css styles. You can add styles to the iframe element itself, but if you want to style divs inside it, you would have to reference the css on the child page.

LcSalazar
  • 16,524
  • 3
  • 37
  • 69