Friday, May 8, 2015

Image on end of TextBox or DropDownBox

Example of how to have image display at start of DropDownList

//css
 .icon{
  background: #ffffff url(/images/icon-search.gif) no-repeat 3px 50%;
}


<asp:DropDownList ID="NameDdl" runat="server" CssClass="icon"></asp:DropDownList>

No comments: