Re: Layers - NS and IE

by "Peter-Paul Koch" <gassinaumasis(at)>

 Date:  Mon, 29 May 2000 09:04:23 GMT
 To:  nwieland(at),
  todo: View Thread, Original
>It appears that IE wants DIV and NetScape wants LAYER.  Is there a way to 
>combine these in one html document?  Or do I need to use a browser detect 
>and direct them to one of two pages (one for IE and one for NetScape).  If 
>the redirect is the solution, I could use some help with the script for 

No, you can use a DIV in Netscape too. The only thing is that it's named 
differently in the different browsers. See

under DHTML -> 'Introduction' and 'DOM' for the code you need for 
cross-browser DHTML.

Get Your Private, Free E-mail from MSN Hotmail at

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA