homepage Welcome to WebmasterWorld Guest from 54.227.34.0
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
html form - drop down menu text color?
mousemoves

10+ Year Member



 
Msg#: 399 posted 11:04 am on Mar 8, 2001 (gmt 0)

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>

 

tedster

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



 
Msg#: 399 posted 11:22 am on Mar 8, 2001 (gmt 0)

Have you tried a stylesheet that declares:

select{color:#f8a569}

mousemoves

10+ Year Member



 
Msg#: 399 posted 11:58 am on Mar 8, 2001 (gmt 0)

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. :)

tedster

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



 
Msg#: 399 posted 12:13 pm on Mar 8, 2001 (gmt 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.

Brett_Tabke

WebmasterWorld Administrator brett_tabke us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 399 posted 1:37 pm on Mar 8, 2001 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved