HTML
<select data-val="true" id="GameID" >
<option value="">Select Game...</option>
<option value="4">Counter Strike Source</option>
<option value="5">Medal Of Honor</option>
<option value="6">NFS Shift</option>
</select>
CSS
select
{
color: #fff;
background: url(/img/backgrounds/tab-hover-background.png) rgba(0,0,0,0);
border: 1px solid #8093BE;
width: 242px;
height: 20px;
}
option
{
background: url(/img/backgrounds/tab-hover-background.png) rgba(0,0,0,0);
}
- In Firefox it works fine,
- In Opera it works only for select,but not for option
- In IE 9.0 & Chrome it has a strange behavior
I want all browsers to display like Firefox
this is a source
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…