javascript - Adding CSS to iframe with no body -


i have iframe tag, wish change font-family. iframe linking not have body, it's text , pictures. javascript ways of accessing don't work. there way around it?

if iframe not on same url / server, best way php instead.

<div class="iframe">     <?php echo get_file_contents("http://www.google.com"); ?> </div> <style>     .iframe {         !! whatever styles !!     } </style> 

obviously replacing !! whatever styles !! changes wish make font. hope helped - i'm quite new stack overflow, if i'm doing wrong please tell me :)


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -