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!
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!
Comment