I have a simple form and I want to have the labels and 开发者_如何转开发text fields to be colored according to the selected jQuery UI theme. The text color of labels is always black and the text fields also don't change with different themes.
You should check if some of your styles don't override jquery-ui styles. Good way to do this is to use Firefox plugin: Firebug. You can inspect any html tag and see how the hierarchy of CSS affects selected element.
EDIT:
Sometimes Firebug doesn't show correct order of styles. Check if jquery-ui stylesheet is included after your styles and if you don't use !important class anywhere. The problem can cause some CSS with "*" sign, for example:
.column *{
color:#000000;
}
Maybe this can be the cause. I once wasted a lot of time searching for errors because of these asterisks...
精彩评论