Hi Davor,

This works, so T5 now appends t-first, t-last to the first and last column
of grid, I can't quite understand this notation: id t-first, subject t-last,
why id.t-first matches to id t-first? search the site you mentioned but
can't find parted related to this yet. thanks.

A.C. 


Davor Hrg wrote:
> 
> no problem
> you have three classes:
> id
> t-first
> t-last
> 
> you can target it:
> .id.t-first.t-last
> 
> or  to target both cases:
> .id-header,  .id.t-first.t-last { width:700px; background:lightgreen}
> 
> there is a comprehensive resource
> http://www.w3.org/TR/REC-CSS2/selector.html
> 
> Davor Hrg
> 
> On Fri, Feb 15, 2008 at 9:59 AM, Angelo Chen <[EMAIL PROTECTED]>
> wrote:
>>
>>  Hi,
>>
>>  in the t5.0.9, the grid's column header's css is, field name plus
>> header, so
>>  we have this:
>>
>>  <th class="id-header">Results</th>
>>  for this I can have :
>>  .id-header { width:700px; background:lightgreen}
>>
>>  but now, for the same template we have this:
>>
>>  <th class="id t-first t-last">Results</th>
>>  and how can I specify a css for "id t-first t-last"? please help,
>> thanks,
>>
>>  A.C.
>>
>>
>>
>>
>>
>>  --
>>  View this message in context:
>> http://www.nabble.com/T5%3A-grid%27s-css-in-5.0.10-tp15496172p15496172.html
>>  Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-grid%27s-css-in-5.0.10-tp15496172p15513598.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to