Changing the background color of an ASP DropDownList using only CSS
I'd like to be able to change the dropdownlist background colors on my C# web app, can I do this with CSS instead of having to name each dropdown separately? In other words, I want to avoid having to do this: private void Form_Load(object sender, EventArgs e) { comboBox1.BackColor = Color.Aqua; comboBox2.BackColor = Color.Aqua; comboBox3.BackColor = Color.Aqua; etc . . . }
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.