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?
Asked
Active
Viewed 528 times
1

Matt Ellen
- 11,268
- 4
- 68
- 90

user3172709
- 31
- 1
- 3
1 Answers
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
-
Why the downvote? It answers the question... – LcSalazar Jan 09 '14 at 13:08