I'm creating a dynamic iframe element:
var iframe=document .createElement( "iframe");
I want attach a style to the element, overflow-x:hidden. However, I can
not find a way to do this via JavaScript. For example, the following do
NOT work:
iframe.style.ov erflow-x="hidden";
iframe.style="{ overflow-x:hidden;"};
Any ideas?
Thanks!
Cliff.
var iframe=document .createElement( "iframe");
I want attach a style to the element, overflow-x:hidden. However, I can
not find a way to do this via JavaScript. For example, the following do
NOT work:
iframe.style.ov erflow-x="hidden";
iframe.style="{ overflow-x:hidden;"};
Any ideas?
Thanks!
Cliff.
Comment