@bobnoordam

Category: ASP.NET Webforms

Styling your dropdownlist and dropdownlist items in ASP.NET

Dropdownlists are a much used component in ASP.NET web development. While styling the dropdownlist in it’s default state is intuitive, styling the list items themselves is not. First things first, we will use the following CSS for the styling: .DropDownListStyle { margin-top: 8px; } .DropDownListItemStyle { background-color: #eee; margin: 8px; padding: 8px; } As you […]

« Previous Page