[thelist] NS4.7 ignores style (Grrrrrr)

Chuck Sumpter frodo_tx at yahoo.com
Wed Oct 10 09:07:01 CDT 2001


Hi all, 

I think I know the answer to this one, but need some confirmation.....

I would like to be able to "color" code the options in a drop down list for my
customer.  As usual several things work in IE (5+). But NS4.7 seems to ignore
any attempt to alter the display of the option list. I've tried the following:

Simple style - 	

<OPTION VALUE="SomeText" STYLE="color: #000080;">SomeText</OPTION>	

and using css, as in: 

<style type="text/css">
<!--
.colorred { color: #FF0000}
-->
</style>

with the above in the head seciton, and the following option tags inside a
form, it would be nice to see the first option red and the second black.  If I
can get something like this to work, I can setup the tag in the serverside java
code and conditionally control color. 

<Select name="xxxxx">
	<option value="SomeText" class=colorred>Some Option Text</option>
	<option value="SomeText2" >Some Other Option Text</option>	
</SELECT>	

IE is happy with either technique....NS4.7 just ignores both as it does the
deprecated "font" tag. 

(DRAT, SMORGASFRAGRAS, BLAST). 

Has anyone out there seen any "magic" way to get Netscape's attention or do I
scrap the idea totally. 

Regards, 

Chuck 





__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com




More information about the thelist mailing list