It's correct.
Code:
<Table width="100%" height="100%">
<tr><td align="center" valign="middle">
<Table><tr><td><img src="..." ... /></td></tr></Table>
</tr></td>
</Table>
You can write like that
[ divHeight and divWidth ] These 2 variable are the height and width of your DIV.
I think you can adjust the position.
Code:
<div id="MainContent" style="POSITION: absolute;">
<img src="_40094290_nin_dsopen203b.jpg" width="203" height="152"></div>
<Script language="javaScript">
var tp, lf;
//tp = ((screen.availHeight )/2) + "px";
//lf = ((screen.availWidth)/2) + "px";
var mc=document.getElementById('MainContent');
var divHeight=152;
var divWidth=203;
tp = (screen.height/2) - divHeight;
lf = (screen.width/2)- divWidth;
mc.style.top = tp;
mc.style.left = lf;
</Script>
Bookmarks