layer displaying issues

liunx

Guest
whats the best way to make layers display at the correct position for all screen resolutions?<!--content-->I usually set the positioning in the style attribute of the div layer:<br />
<br />
<div id="dude" style="z-index:###;left:###;top:###;display:'none';">***My Content</div><br />
<br />
with the<br />
&nbsp;&nbsp; display:'none';<br />
you can use javascript to show it whenever you want with something like:<br />
<br />
<a onclick="document.all.dude.style.display=''">Click Me!!!</a><!--content-->use relative positioning instead of absolute :)<!--content-->
 
Back
Top