RE: Referencing CSS with Javascript

by Chuck Evans <Chucke(at)captura.com>

 Date:  Mon, 6 Mar 2000 16:59:22 -0800
 To:  "'firespring'" <firespring(at)nfx.net>,
hwg-style(at)mail.hwg.org
  todo: View Thread, Original
Wonderful Netscape (smirk) requires that you define P in your stylesheet
also. I'd just add a P to your existing BODY style (and while you're at it,
add UL and OL too):

BODY,P,UL,OL { color: rgb(102,51,0);
background-color: rgb(255,255,0);
background-image: url(http://www.windtree.org/windtree/winback7.jpg);
background-repeat: repeat;
}

---------------------------------------------------------
Chuck Evans
Web Marketing Manager
Captura Software, Inc.
(425) 424-1155
chucke(at)captura.com
www.captura.com


-----Original Message-----
From: firespring [mailto:firespring(at)nfx.net]
Sent: Monday, March 06, 2000 3:45 PM
To: hwg-style(at)mail.hwg.org
Subject: Re: Referencing CSS with Javascript
Importance: High


Okay. I've gotten something which doesn't generate Javascript errors in
either
major browser. My page at:

http://www.firespring.com/testred2.html

uses object detection to determine which browser is calling the page, and
if it's IE, the java creates a new object from the NS-oriented object that
works just like I'd expect it to in IE.

The only trouble is it doesn't display red like it should in NS 4x.
I'm SURE my mistake is a simple one, but I sure can't figure out
what. Can someone please tell me what I'm doing wrong?

Thanks,

Rick Johnson
firespring(at)nfx.net

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.