And I will show in this article how to do that in a correct way Of course with JavaScript . What are the advantages of running a power tool on 240 V vs 120 V? width=85% but I cant see (in several different pages) how to have the iframe set right. ), but that seems overcomplicated. But did you think what is wrong with that approach from basic example above? Hi Don, can you tell me which browser (and version) youre using ? The second parameter of your postMessage must be an url like http://localhost That's why I wanted to see the full code. Instead, I will just link to two excellent articles: This second articlewill show you how you can make an iframe responsive by dealing with aspect ratios. Keep in mind that a good rule of thumb is to always grant the minimum level of capability necessary to a resource to do its job. Can my creature spell be countered if I cast a split second spell after it? Thanks for this excellent information with unique content and it is very useful to know about the information based on comprehensive iframe documentation. Avoid using the OnLoad event. The empty sandbox attribute is mostly using for static content but will drastically reduce the capability required for other resources to work properly. So if you're sending a message to an