homepage Welcome to WebmasterWorld Guest from 54.243.13.30
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
html form - drop down menu text color?
mousemoves




msg:599354
 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




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

Have you tried a stylesheet that declares:

select{color:#f8a569}

mousemoves




msg:599356
 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




msg:599357
 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




msg:599358
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved