Put the tr:table inside a tr:panelGroupLayout and then style that. You
can use a child selector to style the div from the parent element.

-R

On Mon, Feb 16, 2009 at 3:33 PM, Glauco P. Gomes
<[email protected]> wrote:
> I will show you an example:
>
> I have a search page with a table to show the data. In IE 6 the table
> stretch outside the navigator window (as you can see in figure
> ie6_before.jpg).
>
> If I put this in my skin:
> .test {
>  display: inline;
>  width: 100%;
> }
>
> and put styleClass="test" in my tr:table, Trinidad will render the "test"
> skin selector in the table outer DIV and the table shows correctly (see
> figure ie6_after.jpg).
>
> I known that I can put styleClass="test" in every table, but I think it is
> more correctly to create an af|table skin selector and Trinidad will
> automatically put it in all my tables.
>
> In Firefox I don't need to create this new skin selector, this is maybe a
> bug in IE, but this is only one example of the necessity.
>
> As you see in the Trinidad's Skin selector documentation, many components
> has its general selector (to style the root element) and the specifics, not
> only the specifics, see: af|body, af|breadCrumbs, af|commandButton,
> af|goButton, af|inputColor, af|inputDate, af|inputListOfValues, ...,
> af|messages, af|panelAccordion ... Why the table component can't have this
> feature to?
>
> What do you think?
>
> Glauco P. Gomes
>
> Richard Yee escreveu:
>>
>> What style do you want the div  to have? It seems that the content and
>> detail style classes give you access to the table already.
>>
>> R
>>
>> Sent from my iPhone
>

Reply via email to