Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

theprizefight

macrumors member
Original poster
Oct 29, 2006
91
0
I was wondering if it might be possible to apply my own stylesheet to a frame on one of my web sites that is from an external site.

In other words, I framed in a page from another site, on my web page, but want to apply my own style sheet to that frame. Is this is any way possible?

Thanks very much.
 
I was wondering if it might be possible to apply my own stylesheet to a frame on one of my web sites that is from an external site.

In other words, I framed in a page from another site, on my web page, but want to apply my own style sheet to that frame. Is this is any way possible?

Thanks very much.

you'd have to use javascipt to inject the new CSS, but that's like an injection attack, and not possible (unless the javascript is being run on the same server, I believe). Since you have access to the source, the easiest thing to do would be to set a PHP variable that, if it's called, uses a different CSS file.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.