div position: absolute; ... need to move w/ window.onresize
Posted: Mon Mar 19, 2007 8:16 am
...and it aint working!
like why wont simply this code work?
this works...
like why wont simply this code work?
Code: Select all
<div align="center" id="moolayer" style="position:absolute; left:0px; top:150px; width:200px; background-color:#0066FF;" window.onresize="MM_changeProp('moolayer','','style.left','500px','DIV')">MOO</div>Code: Select all
<div align="center" id="moolayer" style="position:absolute; left:0px; top:150px; width:200px; background-color:#0066FF;" onmouseover="MM_changeProp('moolayer','','style.left','500px','DIV')">MOO</div>