Welcome to WebmasterWorld Guest from 54.196.217.43

Forum Moderators: incrediBILL

Message Too Old, No Replies

html form - drop down menu text color?

     

mousemoves

11:04 am on Mar 8, 2001 (gmt 0)

Inactive Member
Account Expired

 
 


I want to make the text inside the dropdown menu a different color(shown in bold below). What I have done doesn't work. Is it possible to make this work somehow?

<FORM action="http://www.something.com/...cgi" Method="POST">
<td cellpadding="0" cellspacing="0" align="center" valign="top" width="133" height="40">

<select name="...">
<option value="http://www.something.com" SELECTED>
<font color="#F8A569">Name1</font>
<option value="http://...">Name2
<option value="http://...">Name2
<option value="http://...">Name4
</select><br>
<input type=submit value="Click Here">
</form>

11:22 am on Mar 8, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Have you tried a stylesheet that declares:

select{color:#f8a569}

mousemoves

11:58 am on Mar 8, 2001 (gmt 0)

Inactive Member
Account Expired

 
 


Cool! It works. Thank you so much, Tedster!

I'm making one of those sneaky drop down menu banner ads.
The hosting site banner ad specifications are to make a 133 by 100 pixel gif or animated gif within 12k. I have downloaded their page and have worked my code into theirs to make sure everything I do coordinates well with their design. It comes in at 12k and within size but it isn't just a gif of course, hehe. I hope they won't mind a little extra code.

It has "Click Here" on it also. :)

12:13 pm on Mar 8, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Wow, 12kb sure sounds like a luxury to me right now. I just did some banners where the limit was 7kb for a standard 468x60 banner.

Glad it's working out for you -- sounds like fun.

1:37 pm on Mar 8, 2001 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
posts:38047
votes: 11


The css color for Select trick appears to be limited to IE only?