Add style to cross domain iFrame
Posted on 2010-08-16
I want to add a style to a cross domain iframe so that the left nav and header are hidden in the iframe. I basically just want to display the main content in the iframe.
If so, maybe there would be a way to just check if there is a parent frame and if the parent frame is my frame. I could then set the style of those elements to display: none. Wondering if there is another way with CSS in the iframe of some other method. I don't think there is an easy way or any way to do it from the parent.