Java 更改rich:SimpleToglePanel标题样式

Java 更改rich:SimpleToglePanel标题样式,java,css,jsf,richfaces,Java,Css,Jsf,Richfaces,是否可以更改rich:simpleTogglePanel的标题样式??标题的字体总是粗体的,我希望它是正常的 我尝试使用style属性:style=font-weight:normal,但没有结果 有什么想法吗?你有没有试过把!在你的风格定义结束时很重要。样式=字体重量:正常!重要 另外,我相信您也知道,通常最好在单独的样式表中指定样式。我已经定制了 /*This class defines styles for a table cell.*/ /*tableBorderWidth, tab

是否可以更改rich:simpleTogglePanel的标题样式??标题的字体总是粗体的,我希望它是正常的

我尝试使用style属性:style=font-weight:normal,但没有结果


有什么想法吗?

你有没有试过把!在你的风格定义结束时很重要。样式=字体重量:正常!重要

另外,我相信您也知道,通常最好在单独的样式表中指定样式。我已经定制了
/*This class defines styles for a table cell.*/  
/*tableBorderWidth, tableBorderColor    border-bottom*/  
/*tableBorderWidth, tableBorderColor    border-right*/  
.rf-edt-c {  
    border-bottom: 1px solid #021e2f;  
    border-right: 1px solid #021e2f;  
    height: auto !important;  
    min-height: 26px;  
}