IE 8 iframe border problem
Posted
by Terry
on Stack Overflow
See other posts from Stack Overflow
or by Terry
Published on 2009-10-26T16:41:13Z
Indexed on
2010/03/24
16:13 UTC
Read the original article
Hit count: 716
iframe
Ok ie 8 does not want to play nice
i have a border showing on my iframe and cant get ride of it
IE 6 and 7 work as intended with a little javascript
function test(){
var iframe=document.getElementById('frame2');
iframe.contentWindow.document.body.style.backgroundColor="#a31d1d";
iframe.contentWindow.document.body.style.border="#a31d1d";
iframe.contentWindow.document.body.style.outlineColor="#a31d1d";
}
but ie 8 still showing it
© Stack Overflow or respective owner