View Single Post
Old 06-19-2002, 08:03 AM   PM User | #1
charon
Regular Coder

 
Join Date: Jun 2002
Posts: 317
Thanks: 0
Thanked 0 Times in 0 Posts
charon is an unknown quantity at this point
Layer Positioning in IE5 & NS6

I know there have differrences in IE5 and NS6 in the CSS position:absolute style attribute, So, i create a reposition function for IE5 and Nestcape6, such as:

if(ns6){
obj.style.left = 120;
obj.style.top = 132;
}

it work fine, but when i resize the window (in NS6), the position can't go relative to the windows size.

please help!! In IE, I use mergin-left and margin-top instead of left and top, then only it work the way as I want it to be.

Please advice. Thanks!
charon is offline   Reply With Quote