Welcome to WebmasterWorld Guest from 23.20.241.155

Forum Moderators: incrediBILL

Message Too Old, No Replies

html form - drop down menu text color?

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

10+ Year Member



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)

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



Have you tried a stylesheet that declares:

select{color:#f8a569}

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

10+ Year Member



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)

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



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)

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



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

Featured Threads

Hot Threads This Week

Hot Threads This Month