问题
How can I apply my own theme to a datepicker or at least apply a theme from jQuery to it?
回答1:
I would recommend using http://jqueryui.com/themeroller/, if that doesn't help you look more indepth into the ui.datepicker.css file and the ui.theme.css files.
回答2:
I'm assuming that you are using the jQuery UI datepicker. If so, you can design a custom theme at the jQuery UI ThemeRoller, then modify the resulting CSS file to you tweak it to your liking. You'll get CSS and custom images for the hover effects. The javascript will generate code that references the classes in the CSS file.
来源:https://stackoverflow.com/questions/520811/jquery-ui-datepicker-css