Women in Technology

Hear us Roar



Article:
  Cross-Browser Layers: Part 2
Subject:   STYLE / POSITION
Date:   2005-07-25 00:49:55
From:   Dr_Fre
Response to: Huh?

I tried dusing the menu on a HP linux with NS4
because of the following tag no style is applied:
style='position: absolute;'
but still it is needed to position the div/menu
i tried the following but the menu can not be shown .

if(ns4){
document.write('<div id=\'menudiv\' >');
}
else{
document.write('<div id=\'menudiv\' style=\'position: absolute;\'>');
}

someone also encountered this problem
or was even able to solve it???