Layer shifts when browser resized

liunx

Guest
Hello,<br />
<br />
I have a slight problem. Here's the chunk of code it concerns.<br />
<br />
<DIV ID="Nav_Layer" STYLE="left: 90px; top: 251px; position:absolute; width:123; height:180"><br />
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><br />
<TR><TD><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"JO_Nav_1.jpg"></TD></TR><br />
<TR><TD><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"JO_Nav_1.jpg"></TD></TR><br />
<TR><TD><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"JO_Nav_1.jpg"></TD></TR><br />
<TR><TD><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"JO_Nav_1.jpg"></TD></TR><br />
<TR><TD><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"JO_Nav_1.jpg"></TD></TR><br />
<TR><TD><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"JO_Nav_1.jpg"></TD></TR><br />
<TR><TD><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"JO_Nav_1.jpg"></TD></TR><br />
<TR><TD><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"JO_Nav_1.jpg"></TD></TR><br />
<TR><TD><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"JO_Nav_1.jpg"></TD></TR><br />
</TABLE><br />
</DIV><br />
<br />
When the browser is maximized everything is aligned correctly. But when you resize the browser smaller the layer moves out of its correct position with GUI. Can anyone tell me what I need to do to prevent this? Thank-you.<!--content-->set <br />
display:block<br />
<br />
and since you already have rest in the code thenit should retain the height and width in any res size.<!--content-->You mean like this...<br />
<br />
<DIV ID="Nav_Layer" STYLE="left: 90px; top: 251px; position:absolute; width:123; height:180; display:block"><br />
<br />
Correct? If so, I tried it and it did not fix my problem. Could it be that my body/GUI is always centered and when the user resizes the browser window the GUI moves accordingly to its center?<!--content-->
 
Back
Top