wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes select box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "select box" Watch "select box" New topic
Author

select box

paramu vinayagam
Ranch Hand

Joined: Dec 10, 2008
Posts: 37
sir,

sir i did color picker using select box. in that inside select box mouse over the row i got the blue color over the row. i think that is system CSS. how to avoid this. What is the best practice to handle this case ?
in below i send my code which i did.


Thanku,

Paramu>
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I do not think there is anything you can do about that.

Eric
Omar Al Kababji
Ranch Hand

Joined: Jan 13, 2009
Posts: 357
try setting the style "text-decoration: none;"


Omar Al Kababji - Electrical & Computer Engineer
[SCJP - 90% - Story] [SCWCD - 94% - Story] [SCBCD - 80% - Story] | My Blog
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
text-decoration is underline, not the default selection color of the windowed select element that we have little control with the style.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

omar al kababji wrote:try setting the style "text-decoration: none;"

Please do not post solutions that are just wild guesses that have no chance of working.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Omar Al Kababji
Ranch Hand

Joined: Jan 13, 2009
Posts: 357
sorry i miss understood the question
 
Don't get me started about those stupid light bulbs.
 
subject: select box
 
Similar Threads
document.getElementByID() not working in IE8
Adding Dynamic Rows to Table using addrow button
MultiDimenaional Array sort
how to implement dynamic rows paging when user clicks next or previous links
Access Data from Database By Submitting The select Values