We override the following styles to remove all default formatting

table.tabbedPane
td.activeTab
td.activeTab input
td.inactiveTab
td.inactiveTab input
td.activeSub
td.inactiveSub
td.tabContent
td.myFaces_panelTabbedPane_emptyHeaderCell
.myFaces_panelTabbedPane_activeHeaderCell input:hover
.myFaces_panelTabbedPane_inactiveHeaderCell input:hover

 

-----Original Message-----
From: Paul Spencer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 14, 2006 8:44 AM
To: MyFaces Discussion
Subject: Re: Setting styleClass on the text in the tab, active or inactive,
of the Tabbed Pane <t:panelTabbedPane>.

Julian,
This does not work for the font-weight attribute.  "! important" is not need
for background-color.  I am not sure about other attributes.

Paul Spencer

Julian Ray wrote:
> You need to override the default stylesheet settings using !important. 
> For
> example:
> 
> td.activeTab {
>  background-color: #FEFEFE ! important;
>  border-top: 1px solid #91A0CA ! important; }
> 
> 
> -----Original Message-----
> From: Paul Spencer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 14, 2006 6:19 AM
> To: MyFaces Discussion
> Subject: Setting styleClass on the text in the tab, active or 
> inactive, of the Tabbed Pane <t:panelTabbedPane>.
> 
> I would like to bold the text in the tab of the active pane.  Setting 
> the attribute activeTabStyleClass="activeTabHeader" does have some 
> affect, mainly properties used by <TD>.  What appears to be missing is 
> the class attribute on the generated <input> tag that contains the
displayed text.
> 
> Paul Spencer
> 
> 

Reply via email to