How do I change the BackColor of the textbox area in an asp.net DropDownList?

You can change the background color of a tag with the following: select { background-color: #ff0000; border: 1px solid #ff0000; /* if you want a different border */ } Note: IE's styling differs from Firefox though.

You can do this via an external stylesheet and target the DropDownList's ID, or you can add the CSS property via code, like so: DropDownList.Attributes. Add("style", "background-color: #FF0000") But as Nick pointed out, you may not get your desired result, because form elements inherit from native operating system controls.

I think it's only fair that I vote you up - you covered the other direction :) – Neurofluxation May 26 '10 at 15:37.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions