Re: Re: Frames vs. Tables
by Christopher Higgs <c.higgs(at)landfood.unimelb.edu.au>
|
Date: |
Wed, 03 Dec 1997 12:39:09 +1100 |
To: |
hwg-theory(at)mail.hwg.org |
|
todo: View
Thread,
Original
|
|
At 18:19 2/12/97 -0600, Jim wrote:
>Is it possible to detect CSS ability (whether turned on/off in the
>browser or non existant) to output the correct HTML?
>
>Something like this:
>
>HTML for text.
>
>if browser is CSS capable:
> if CSS is turned on:
> insert HTML for drop shadow
> else nothing
>else nothing
>end
Yes - we discussed this on newtech only recently. I think the final answer
was something like this:
if((document.layers)||(document.all)) {
document.write('etc.....
It only answers the capability, not turned on :)
Have a look in the newtech archives for full details (Browser 4 detection).
Chris Higgs <c.higgs(at)landfood.unimelb.edu.au>
Gilbert Chandler College
http://ariel.unimelb.edu.au/~gilbert
HWG hwg-theory mailing list archives,
maintained by Webmasters @ IWA