TedPride has asked for the wisdom of the Perl Monks concerning the following question:
How does one hide the contents of a DIV from incompatible browsers? I''m trying to do the usual pulldown menu sort of thing, but on browsers that don't support CSS, the menu chunks end up all over the bottom of the page instead of being invisible. I imagine I could use stylesheet includes to solve the problem, but I'm not a big fan of browser-side includes, since if the secondary file(s) happen to be outside of the x number of files the browser can load at once, or if the server lags on the request, the entire page has to wait to load.
Basically, I'd like either a way to comment out the contents of the DIV for imcompatible browsers, or suggestions on the best way to go about including or not including the DIV using server-side methods.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (OT) How to hide DIV contents from incompatible browsers?
by jhourcle (Prior) on May 05, 2005 at 21:22 UTC | |
|
Re: (OT) How to hide DIV contents from incompatible browsers?
by shemp (Deacon) on May 05, 2005 at 22:33 UTC | |
by jhourcle (Prior) on May 06, 2005 at 02:06 UTC |