If the iframe loads the page in your own domain and you want to statically change the iframe styles, you can just change the style rules in the CSS file, this is what @ Justin808 says.
However, if you want to change styles dynamically, and iframe loads the page in your own domain, you can do this with jQuery:
$("iframe").contents().find("element-selector").css("border-color", "blue");
If the iframe loads the page into a different domain, you are out of luck, follow this link where you can read a little about why this does not work.
If you are using HTML5, you can use postMessage to link between the page and the iframe .
@crdunst will work if you have "edit access" to the page inside the iframe so that you can edit it to understand the parameters passed to it, and then make them act on these parameters. This is not as dynamic as using jQuery, because it allows you to change styles by reloading the page inside the iframe and passing it another set of parameters.
Mathijs flietstra
source share