I am using an example of JQuery DatePicker from link text
on my asp.net page.
But, background color of the datepicker is white. I am not sure how to change this. (Change to default color) My asp.net page background page is white, maybe because of that?
Any help would be appereicate it. Thanks.
The background formatting for the control comes from the .ui-widget-content
CSS class. Assuming you only want to apply to the date picker and not other controls you want something like this:
.ui-datepicker .ui-widget-content {
background: #999 none;
}
If instead you want to change the background colour for all controls, just find the existing .ui-widget-content
class in your CSS and change that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With