<head runat="server">
<style type="text/css">
.test1{background-repeat:no-repeat; background-position:right; background-image: url(images/AmEx.gif); vertical-align:middle; margin-top:4px; margin-bottom :4px; margin-right :8px;}
.test2{background-repeat:no-repeat; background-position:right; background-image: url(images/Visa.gif); vertical-align:middle; margin-top:4px; margin-bottom :4px; margin-right :8px;}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:DropDownList ID="cmbCardType" runat="server" CssClass="cmbCardTypeAnonims" Width ="200px">
<asp:ListItem Text="Visa" Value="VIS" class="test1"></asp:ListItem>
<asp:ListItem Text="Visa" Value="VIS" class="test2"></asp:ListItem>
</asp:DropDownList>
</div>
</form>
</body>
try it, it works...........
Enter your message below
Sign in or Join us (it's free).