Both layers and divs act differently.
For a tutorial on div tags, check out http://members.gcnet.net/chris/tutorials/DHTML/ie.htm
And at the same site there are also instructions for cross-browser methods. http://members.gcnet.net/chris/tutorials/DHTML/crossbrowser.htm
I don't yet have a resource for layers with Netscape6.