On 8/15/07, Simon Lessard <[EMAIL PROTECTED]> wrote:
> Hello Danny,
>
> It works fine for me in Firefox and will work only sometimes in MSIE because
> it doesn't support composite selectors, so it becaome dependant on the
> selector order of the generated CSS file. You can probably fix it by using
> the following selector:
>
> .p_AFReadOnly af|inputText::content
>
> The generated HTML looks like this:
> <table id="j_id___jsp_tag_ctru5__xc_" class="af_inputText
> p_AFReadOnly" cellspacing=" 0" cellpadding="0" border="0">
>
> <tbody>
>
> <tr >
>
> <td class="af_inputText_label" nowrap=" "/>
> < td class="AFContentCell" valign="top" nowrap="" >
>
> <div id="j_id___jsp_tag_ctru5" class="
> af_inputText_content">toto</div>
We use a <div> for the read-only inputText content? Shouldn't that be a span?
-- Adam
> </td>
> </tr >
> </tbody>
> </table>
>
> Regards,
>
> ~ Simon
>
>
> On 8/15/07, Danny Robinson <[EMAIL PROTECTED]> wrote:
> >
> > Has anyone had any success with the following skin entry? There doesn't
> seem to be any specific style generated for readOnly inputText's.
> >
> > af|inputText:readOnly::content {
> > background-color: red;
> > }
> >
> > I need this so I can remove the border that is added through my usage of
> >
> > .AFFieldText
> > {
> > color: black;
> > font-family: arial, sans-serif;
> > font-size: 9pt;
> > white-space: nowrap;
> > border: 1px solid rgb(120,172,255);
> > }
> >
> >
> > Thanks,
> >
> > Danny
> >
> > --
> > Chordiant Software Inc.
> > www.chordiant.com
>
>