I just began reading this thread, so I hope I'm understanding what's going
on.  I looked at your screenshots, but I didn't see that your code was
posted anywhere.  A few thoughts come to mind.  First, I always use CSS on
my selects and they work fine in IE and NS, so I can't see that CSS is at
fault.  Second, in my experience, NS is famous for doing this to select
boxes if there are no form tags around it.  Do you have form tags?  Even if
you're just using JavaScript, you have to have the tags, even if they are
void of any attributes.  Third, I agree regarding your opinion of NS (but
that's a whole 'nother thread!).  Anyhow, HTH!

~Val


----- Original Message -----
From: "Trusz, Andrew" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 12:30 PM
Subject: RE: CSS and Netscape - was(CSS and dynamically changing classes)


> The "A List Apart" discussion on css might be helpful, Matt,
> http://www.alistapart.com/stories/journey/. Try sticking the @import code
in
> and see what it does to the 4x browsers: <style type="text/css"
media="all>
> @import "/nucss/css";
>   </style>
> andy
>
> -----Original Message-----
> From: Matthew R. Small [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 12:00 PM
> To: CF-Talk
> Subject: RE: CSS and Netscape - was(CSS and dynamically changing
> classes)
>
>
> Here is the code that I am using for all of my select boxes.  Only the
> names change.
>
> <select name="expmonth" class="box">
>
> For a view of the ridiculous crap that is going on, I took screenshots
> of the page in both netscape
> http://www.showstopperonline.com/netscape408.jpg
> And internet explorer 6.0  http://www.showstopperonline.com/ie6.jpg
>
> The only difference between the pages is that the resolution is smaller
> on the netscape page.  I can't believe the difference!
>
> And I just decided to check out my page in the latest - netscape 6 NONE
> OF MY JAVASCRIPT WORKS!  I click on the button, nothing happens!
> Doesn't NS6 have javascript support??? I HATE NETSCAPE!
>
> - Matt Small
>
>
>
>
>
>
>
> -----Original Message-----
> From: Katherine Maltby [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 11:40 AM
> To: CF-Talk
> Subject: RE: CSS and Netscape - was(CSS and dynamically changing
> classes)
>
> class properties should not break the selects, but lower-end Netscape
> browsers do sometimes have a tendency to pick and choose what it wants
> to
> display from css! Are you including it in the select tag or from a style
> sheet? How is it breaking them?
>
> Kath
>
>
> -----Original Message-----
> From: Matthew R. Small [mailto:[EMAIL PROTECTED]]
> Sent: 16 April 2002 16:42
> To: CF-Talk
> Subject: OT: CSS and Netscape - was(CSS and dynamically changing
> classes)
>
>
> Thanks Dave!
> I decided to use the visibility property after I got this going.
>
> On another note - I decided to view my page in Netscape 4.08.  I was in
> for a HUGE shock.  My page, which uses CSS mostly at the most basic
> level, totally breaks my page.  Selects don't work at all when I have
> the class property in the tag.  Does this mean that the Netscape 4
> series browsers are totally off limits for CSS?
>
> - Matt Small
>
> -----Original Message-----
> From: Bosky, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 11:05 AM
> To: CF-Talk
> Subject: RE: CSS and dynamically changing classes
>
> I usually use onfocus/onblur:
>
> <INPUT TYPE="text" NAME="name" VALUE="" SIZE=30
> onfocus="style.backgroundColor='gray'; style.color='white'"
> onblur="style.backgroundColor='white'; style.color='black'">
>
>
> Dave
>
> -----Original Message-----
> From: Matthew R. Small [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 10:57 AM
> To: CF-Talk
> Subject: OT: CSS and dynamically changing classes
>
> Hi everybody,
> I have a form where a text input box become available for use
> only if a certain slection is made.  What I want to do is have the color
> of the text box be grey if it is not available and normal color (which
> is purple in my case) if it is available.
> I can handle the css which makes it grey, and the javascript
> which makes it non-focusable until the correct selection is made, but I
> need it to change color.
>
> I tried (as an educated guess)
> If (select.selectedIndex == 8) {
> form.nameoftextbox.class = "sameclassasrest";}
>
> and
>
> If (select.selectedIndex == 8) {
> form.nameoftextbox.style = "sameclassasrest";}
>
> but neither worked for me.
>
> Can I do this and how?
>
> Thank you,
> Matt Small
>
>
>
>
>
>
> 
______________________________________________________________________
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to