Quantcast
Channel: How to change body css elements inside iframe? - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Newbie for How to change body css elements inside iframe?

Maybe it's not possible. If you are the owner of domain in the iframe, you can allow scross site scripting by a .htaccess.If you are create a project like "editor", you can use this to edit iframe...

View Article



Answer by Bellash for How to change body css elements inside iframe?

Have you tried to force it using jquery?$("#iFrame").contents().find("#someDiv").css({width:'450px'});$("#iFrame").contents().find("body").css({color:'red'});

View Article

How to change body css elements inside iframe?

I set the default body background of site to:body {background-color: red;}However, I am using external text input box that is displayed via an iframe and its also showing a red background.How can I...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images