incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanne Waldman <jeanne.wald...@oracle.com>
Subject Re: Required CSS - how to remove icon (*)
Date Mon, 16 Apr 2007 18:25:00 GMT
You can try:
.AFRequiredIcon:alias {content: inhibit }

Simon Lessard wrote:
> Hello Chris,
>
> You can overload the icon selector and have it point on an invisible 
> 1x1 GIF
> file. You can also try to inhibit the content property, but I never tried
> the latter so I'm not sure if it actually works. The required icon 
> selector
> is AFRequiredIcon:alias
>
>
> Regards,
>
> ~ Simon
>
> On 4/16/07, Chris Hane <chrishane@gmail.com> wrote:
>>
>> I am styling my required fields and an icon (*) is being added.  
>> Which css
>> element do I need to remove this?  AFRequiredIconStyle is defined 
>> like so:
>>
>>
>> .AFRequiredIconStyle{
>>     font-family:Courier,sans-serif;
>> }
>>
>> No icon(*).  I have the following xhtml (facelets) fragment:
>>
>> <tr:inputText label="Status" value="${backing.property}"
>>                showRequired="true"/>
>>
>> This creates the following html which includes an icon (*).
>>
>> <td class="af_inputText_label af_panelFormLayout_label-cell" nowrap="">
>>     <span class="AFRequiredIconStyle" title="Required">*</span>
>>     <label for="status">Status</label>
>> </td>
>>
>> Thoughts on where I need to remove the icon (*) from, or override it to
>> not
>> be included?
>>
>> Thanks,
>> Chris....
>>
>

Mime
View raw message