Sorry, it's definitely not possible, I've tried. Actually iirc if you do try
and set it, NS4 will act funny, so you should do a check for NS4 when you
set it. This is from a script I use for validation...
if (!document.layers) vField.style.backgroundColor = '#ffffcc';

BTW that link is imo the best resource for NS4 css...if it's not there. It
probably can't be done.

jon
----- Original Message -----
From: "Brian Scandale" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, June 26, 2002 8:03 PM
Subject: Re: Javascript, form input colors and Netscape


> Thanks Jon,
>
> That's a WAY cool link and it will be VERY useful in the future as I tune
my CSS Style sheets... However, my question still remains... Using
JAVASCRIPT to address form properties... how does one color an input window
in Netscape?
>
> I'm hearing that it's not possible for Netscape 4.0 series browsers but
it's not an authoritive statement that I've heard yet. My searches turn up
nothing definitive.
>
> Anyone?
> Brian
>
>
> At 04:47 PM 6/26/02, you wrote:
> >http://www.mako4css.com/cssforms.htm
> >
> >----- Original Message -----
> >From: "Brian Scandale" <[EMAIL PROTECTED]>
> >To: "CF-Talk" <[EMAIL PROTECTED]>
> >Sent: Wednesday, June 26, 2002 7:29 PM
> >Subject: Javascript, form input colors and Netscape
> >
> >
> >> Does anyone know how to use javascript to change the background color
of
> >an <input type=text > form element with Netscape 4.0?
> >>
> >> I have been using statements like this for IE and Netscape 6.0+
> >> ----------
> >> frm.elements[itemNumber].style.background = "#00FF00";
> >> ----------
> >>
> >> but it does not work with Netscape 4.0 browsers...
> >
> >
> >
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to