gvz
02-27-2003, 10:16 AM
How can I change the color of the options when the mouse over. The default is darkblue. Thanks!..:)
|
Click to See Complete Forum and Search --> : Deop Down Menu gvz 02-27-2003, 10:16 AM How can I change the color of the options when the mouse over. The default is darkblue. Thanks!..:) pyro 02-27-2003, 10:24 AM That depends on how the drop down menu was programmed. Can we see some code? Or, are you talking about a <select> menu? pyro 02-27-2003, 10:59 AM I'm not sure if you can change the mouseover color for <select> menus. It may just be a windows default. Check out this code, however: <select name="mymenu" size="1" style="color: #8CB0E6; background-color: black;"> <option selected>Option One</option> <option>Option Two</option> </select>This will change your background and font color... Jona 02-27-2003, 11:58 AM If you're referring to a select box, here's what I'd do... <select size="1"> <span style="color:white;background-color:blue"><option selected>your option</span> </select> That should work. pyro 02-27-2003, 12:04 PM Jona- That code does absolutly nothing for me in IE 6... Jona 02-27-2003, 05:19 PM Oops, I think I did it wrong, then. Hehe, I'm not supposed to use a <span>. This should work... <select size="1"> <option selected style="color:white;background-color:blue">your option </select> That should do. pyro 02-27-2003, 06:10 PM Yup, that works now. It is also very close to what I originally posted... :p Jona 02-27-2003, 06:25 PM Yah, that's true. I was just giving... an alternative. :) webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |