这是我现有的下拉列表:
@Html.DropDownList("ddlMailSignature", (IEnumerable<SelectListItem>)ViewBag.MailSignature, "Mail Signature", new { @class = "select2" })
是否可以使用我在应用程序中添加的图像获取相同的下拉列表?下面是我的图像的CSS。
.MailSignature {
background: url(../img/signature.png) no-repeat;
width: 20px;
height: 15px;
float: right;
}