1

我使用Primefaces 2.1

我像这样引用css文件:

<style type="text/css">
  @import url("resources/css/skin.css");
  @import url("resources/css/style.css");
</style>

在 style.css 中,我尝试更改选项卡所在容器的背景颜色:

 .ui-tabs-nav{
  background-color:yellow;
 }

这行不通。主选项卡容器的更改“有效”:

.ui-tabs{
 background-color:yellow;
}
4

1 回答 1

0

The pimefaces page on themes: http://primefaces.org/themes.html

Scroll down to "Installing Themes"

You'll use the jQuery theme roller http://jqueryui.com/themeroller/ to build a theme. It's really easy and quick to do. There are also a large number of prepackaged themes available.

于 2010-11-06T03:34:35.303 回答