View Full Version : possible to re-style a frame from external source?
theprizefight
Mar 24, 2009, 01:28 PM
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.
thejadedmonkey
Mar 24, 2009, 01:33 PM
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.
vBulletin® v3.6.10, Copyright ©2000-2009, Jelsoft Enterprises Ltd.