【发布时间】:2014-11-18 22:06:06
【问题描述】:
我无法更改 jQuery UI 对话框标题栏的背景颜色。我是这样编码的:
jQuery("#divId").dialog({
title: 'Information'
});
jQuery("#divId .ui-dialog-titlebar").css("background-color", "red");
顺便说一句,我的应用程序只能在 IE 中打开。我尝试使用 IE 开发人员工具检测标题栏和页脚 css 属性,但它不会检测到标题栏和页脚。但它识别 ui-dialog-content 的 css 属性。请给我建议。
【问题讨论】:
-
你的意思是你的 UI 对话框中没有标题?
-
title 存在.. 但不允许我更改样式?