I'm looking to enhance the appearance of a select element on my webpage, so I've crafted some custom CSS:
.selectWebDropDown
{
background-color:Transparent;
background: url(../Images/ddl_Normal.png) no-repeat right #FFFFFF !important;
border: 0px solid #FFFFFF;
padding:4px;
line-height: 21px;
}
.selectWebDropDown:hover
{
background-color:Transparent;
overflow: hidden;
background: #FFFFFF url(../Images/ddl_Hover.png) no-repeat 0 0 !important;
padding:4px;
line-height: 21px;
}
.selectWebDropDown:active
{
overflow: hidden;
background-color:Transparent;
background: url(../Images/ddl_Pressed.png) no-repeat 0 0 !important;
padding:4px;
line-height: 21px;
}
While the style is working as expected, I am facing an issue where the arrow on the select element does not disappear. Is there a workaround to achieve this using only CSS without resorting to JavaScript?