2012-07-17 103 views

回答

1

定制jQuery的UI元素的外观,最好的办法是通过下载根据您的需求定制版本:

http://jqueryui.com/download

参见右侧的“主题”的配置。

2

使用萤火虫进行快速检查可以发现,anchor元素具有class'.ui-state-default',因此这些样式被.ui-state-default覆盖,因为这更具体。

让CSS选择器更具体的

.ui-datepicker-week-end a.ui-state-default {  
background-image: none; 
background-color: #EFE584; 
} 
+1

还引用了你的CSS文件中的jQuery UI的一前一后,因为如果具体情况是相同的,注册的最后一个将被应用。 – BonyT 2012-07-17 18:40:40