Hi,
The generated CSS si perfect with the selector you used, however I assume
you're using IE 6 and therefore composite selectors are not supported. So
change your skin CSS to use
.myLoginLink {
font-size:30px;
}
instead of
af|commandLink.myLoginLink {
font-size:30px;
}
regards,
~ Simon
On Thu, Mar 19, 2009 at 11:28 AM, Adme Admirolas <[email protected]>wrote:
> Us explained in "Apache Trinidad Skinning" article i have tried to set
> styleClass attribute to tr:commandLink.
>
> In css file i have added this:
>
> af|commandLink.myLoginLink {
> font-size:30px;
> }
>
> An in jsp:
>
> <tr:commandLink text="Login" action="aa" styleClass="myLoginLink"/>
>
> But font size do not change. In generated HTML i see, that there is set two
> class'es - myLoginLink OraLink. In generated CSS there is no myLoginLink
> class. There is .af_commandLink.myLoginLink {font-size:30px}
>
> So how i should set styleClass for commandLink? What i'm doing wrong?
>
>