You might as well use getElementByID() for IE too mate. IE6/NS6/Mozilla all support it and it is part of the W3C DOM standards. .b ----- Original Message ----- From: "Iztok Polanic" <iztokp at amis.net> To: <javascript at LaTech.edu> Sent: Friday, November 09, 2001 5:16 PM Subject: Re: [Javascript] <div> Hi! Cool! Is there a list of JS (and DOM objects) implementations for every browser? How come I can access <div> elemets so nicely in IE, but in NN I have to use getElementById? Which one in right? Or otherwise, which browser follows W3C standards? Bye, Iztok ----- Original Message ----- From: Cutter Bl To: javascript at LaTech.edu Sent: Friday, November 09, 2001 14:25 Subject: Re: [Javascript] <div> Something like: function MyFunction(){ document.getElementById('divId').style.left = 120; document.getElementById('divId').style.top = 60; } NN 6.2 would use getElementById to access the current W3C Document Object Model standards. Look at Peter-Paul's site (http://www.xs4all.nl/~ppk/js/index.html?/~ppk/js/intro.html) under the subheading Version 5|Level 1 DOM for more info. Cutter Falcon Knives ----Original Message Follows---- From: "Iztok Polanic" Reply-To: javascript at LaTech.edu To: Subject: [Javascript] Date: Fri, 9 Nov 2001 12:42:28 +0100 Hi! How to access tag in Netscape 6.2 thru Javascript? Lep pozdrav, Iztok _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript ---------------------------------------------------------------------------- -- Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript