newbie: adding border to a DropDownList

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

Hey

asp.net 2.0

The css below don't add a border to a DropDownList (but it sets background
color to Fuchsia etc), I wonder what is missing with the css below? or maybe
using css to set border on a DropDownList is not the appropriate
approach...?

..inputCtr {
float: left;
background-color:Fuchsia;
width: 155px;
border:solid 1px red;
}

Any suggestions?

Jeff
 
Jeff said:
Hey

asp.net 2.0

The css below don't add a border to a DropDownList (but it sets background
color to Fuchsia etc), I wonder what is missing with the css below? or
maybe using css to set border on a DropDownList is not the appropriate
approach...?

.inputCtr {
float: left;
background-color:Fuchsia;
width: 155px;
border:solid 1px red;
}

Any suggestions?

Jeff

The problem occur in IE7... maybe it occur on older version of IE too, but I
only got IE7 on my pc
 
Back
Top