You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jeff Bischoff <jb...@klkurz.com> on 2006/10/19 15:37:04 UTC

Re: styleClass in

Sebastien,

Have you tried a classname without an underscore? Older browsers don't 
support it. Also, make sure you hit the browser's refresh button to 
ensure you get the updated css file. Then view source, to make sure the 
browser is finding your css file and everything matches up.

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Sébastien Marin wrote:
> Hello, i want to apply style in imputtext component.
> 
> So for exemple boder and backgroung color.
> 
> if i write:
> <h:inputText id="anId"  value="..." maxlength="..." style="border-width:1px;
> border-color:#afafaf; }"  styleClass="">
> in the JSP,It is OK
> 
> If i write
> <h:inputText id="anId"  value="..." maxlength="15"  styleClass="css_ZoneChamp">
> in the jsp
> 
> And:
> .css_ZoneChamp{ border-width:1px; border-color:#afafaf; }
> in my CSS, the backgroud is applyed buit not the boerde.
> 
> How can i do... it is strange...
> 
> 
> |Cordialement, Sébastien MARIN.|
> |------------------------------|
> |->  http://www.marin-s.com  <-|
> |------------------------------|
> 
> 
>