Click to See Complete Forum and Search --> : Forced formating of IFRAME
Sorry if I'm repeating the question - quick search didn't find the answer...
Is there a way to force my own formatting (just font size and color) of pre-formatted text within IFRAME which I can't format directly?
Stefan
02-16-2003, 07:03 PM
Originally posted by zorz
Is there a way to force my own formatting (just font size and color) of pre-formatted text within IFRAME which I can't format directly?
You have to explain a bit more eaxtly what you are looking for.
Are you asking how to change the look of a page you are browsing in your own browser or are you making a webpage which links to an external page you have no access to or something else?
Second option. My IFRAME contains a simple HTML text page which is returned by a Perl script on my site.
I can't edit the returned text directly, it's pre-formatted. So, I noticed that IFRAME has STYLE as a parameter. Does it mean that in conjunction with DIV tag I can affect IFRAME's content? Can I "overlay" it with my custom font size and color formating?
Stefan
02-17-2003, 03:33 AM
Well theoretically I assume you should be able to do something like
iframe p {color:blue;}
Havn't tried it myself though.
Of cource if you have the ability to place a link to an external stylesheet in the file you import via iframe, they that would be the easiest solution.