Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 90693 invoked from network); 13 Jul 2009 20:04:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jul 2009 20:04:37 -0000 Received: (qmail 11046 invoked by uid 500); 13 Jul 2009 20:04:45 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 10972 invoked by uid 500); 13 Jul 2009 20:04:45 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 10964 invoked by uid 99); 13 Jul 2009 20:04:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 20:04:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 20:04:35 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MQRl1-0000q1-1O for users@myfaces.apache.org; Mon, 13 Jul 2009 13:04:15 -0700 Message-ID: <24468081.post@talk.nabble.com> Date: Mon, 13 Jul 2009 13:04:15 -0700 (PDT) From: efellows To: users@myfaces.apache.org Subject: How to create style classes for tr:table headers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: efellows@gcna.com X-Virus-Checked: Checked by ClamAV on apache.org I am working on an application that involves a tr:table of companies, which has a tr:table of people in it's detailstamp. I have created a skin, but am having trouble figuring out how to create a style class so that the second table's header is a different colour than the first. After reading about http://myfaces.apache.org/trinidad/devguide/skinning.html#Skinning_CSS_features using styleClass in the trinidad dev guide , I added the following to my .css: af|column::header-text.inner{ padding-left: 5px; padding-right: 5px; padding-top: 2px; padding-bottom: 2px; text-align: center; font-family: "Tahoma"; font-size: 14px; color: #FFFFFF; background-color: red; } I have tried a number of permutations (.inner af|column::header-text, af|column.inner::header-text) but haven't stumbled on something that works. Can anyone help? Thank you, Emily -- View this message in context: http://www.nabble.com/How-to-create-style-classes-for-tr%3Atable-headers-tp24468081p24468081.html Sent from the MyFaces - Users mailing list archive at Nabble.com.