JessyEzzy
asked on
How Can I apply a css style to a dropdownlist?
I am applying a style for my form fields here it is:
cella_form {
font-size: 10px;
border: 1px;
border-color: 4BBA5C;
border-style: solid;
}
I have set the Css Class property for all the controls with the style name,it's showing fine for textboxes but dropdownlists are not affected, I want a solid green border to be shown.
I am using ASP.NET controls.
Can anybody tell me how to apply the style for the dropdownlist?
Thanks.
cella_form {
font-size: 10px;
border: 1px;
border-color: 4BBA5C;
border-style: solid;
}
I have set the Css Class property for all the controls with the style name,it's showing fine for textboxes but dropdownlists are not affected, I want a solid green border to be shown.
I am using ASP.NET controls.
Can anybody tell me how to apply the style for the dropdownlist?
Thanks.
Furthermore, "#4BBA5C", not "4BBA5C".
>>Can anybody tell me how to apply the style for the dropdownlist?
Yes, you can't - at least in IE :-)
It's only supported in NS7 and Mozilla
Yes, you can't - at least in IE :-)
It's only supported in NS7 and Mozilla
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm sure I've heard that before somewhere :-)
> I'm sure I've heard that before somewhere :-)
sean I noticed your comment (above), I just wanted to add that you CAN add the font-size style for IE, and the border only for option in Mozilla. Just being more specific.. not trying to steal anyone's thunder here:)
sean I noticed your comment (above), I just wanted to add that you CAN add the font-size style for IE, and the border only for option in Mozilla. Just being more specific.. not trying to steal anyone's thunder here:)
That's okay DD, I don't have any thunder to steal - I'm too full of sunshine.
ASKER
So what would you like to know?
ASKER
Actually after what you said about it's not being supported in IE it seems that I can't do anything to it, even though the ones who's going to use the form are using IE, so there is nothing i need to know.
Thanks.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And you should have a period before the class name in the style sheet, eg ".cella_form {"