Lester Horwinkle said:
With 95-98% of users running IE, web developers would love to drop
support for Netscape/Mozilla. The two camps differ in their object
hierarchy, forcing us to write special JavaScript code to deal with
them differently.
There are object model standards developed at the W3C, together by
Microsoft(!), Netscape, Mozilla, Opera and several other companies &
organisations. W3C DOM Level 0/1/2 are more or less suported by all modern
browsers. Mozilla has the best implementation, but Opera 6/7 & MSIE 6 are
rather good at it too, so you do _not_ have to write special code for each
of them.