Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can iframe content access parent CSS?

Status
Not open for further replies.

jacksondorado

IS-IT--Management
Apr 12, 2001
135
US
I have a parent page with an iframe. The iframe source is an external web page- not on the same server as the parent page.

Is there a way to use the parent CSS inside the iframe content? I have tried several suggestions I found on the internet and none work so far.
 
Nope, there is no way. Iframe holds another page, so it would be weird if you could so easily control someone else's page. To get what you want, you would need to grab the other page and parse only the relevant information off of it. But that is outside the scope of this forum.

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
If you control both pages, then you can change the URL that the page in the IFRAME uses to get its CSS, as an external style sheet, to the one from the Parent site.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top