[thelist] Browser Detect with JavaScript

Peter-Paul Koch gassinaumasis at hotmail.com
Mon Dec 4 06:35:00 CST 2000


> > <P STYLE="display: none">Your web browser is not the latest and
> > greatest.</P>
> >
> > The CSS browsers will honour the display: none and remove the P from the
> > document, while non-CSS browsers will show it. IE3 doesn't support 
>display,
> > so it also shows the message.
>
>I am not aware of any Netscape versions (possibly v6??) that supports 
>display:
>none;. You may wish to use the visibility property.

Netscape 4 supports display: block | inline | none, it just doesn't support 
the changing of display through JavaScript. Try my example, you'll see that 
it works.

ppk
_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com





More information about the thelist mailing list