spinweb
01-27-2003, 08:45 PM
I'm using IFRAMES on my site and Internet Explorer either centers them by default, or is understanding the align attribute I have in my code. Unfortunately, Netscape 7 does not. Does anyone know how to get N7 to center an IFRAME?
Code below....
Thanks! Rick
/Specify display mode (0 or 1)
//0 causes document to be displayed in an inline frame, while 1 in a new browser window
var displaymode=0
//if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
var iframecode='<iframe id="external" align="center" frameborder="0" name=MyIframe style="width:847px;height:810px" src="dlshome.html"></iframe>'
/////NO NEED TO EDIT BELOW HERE////////////
Code below....
Thanks! Rick
/Specify display mode (0 or 1)
//0 causes document to be displayed in an inline frame, while 1 in a new browser window
var displaymode=0
//if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
var iframecode='<iframe id="external" align="center" frameborder="0" name=MyIframe style="width:847px;height:810px" src="dlshome.html"></iframe>'
/////NO NEED TO EDIT BELOW HERE////////////