You are here: irt.org | FAQ | JavaScript | Window | Q1021 [ previous next ]
To resize a browser Netscape Navigator 4+ and Internet Explorer 4+:
<SCRIPT LANGUAGE="JavaScript"><!--
if (document.all || document.layers)
window.resizeTo(400,400)
//--></SCRIPT>To position an image in the center of the page:
<TABLE WIDTH="100%" HEIGHT="100%"> <TR> <TD> <CENTER> <IMG SRC="picture.gif" WIDTH="200" HEIGHT="200"> </CENTER> </TD> </TR> </TABLE>