3 Replies Latest reply: Sep 26, 2011 9:01 AM by Ilya Shaikovsky RSS

custom css class overridden by Rich SKIN

Mohammad Weshah Newbie

Good Day All,

I have the following problem , I create custom css file for my project and i write a custom class "button-table-style" for a button in my screen ,my custom class should change the background for the button i add this class to my button :

 

<h:commandButton   value="#{LABEL.UPDATE}" styleClass="button-table-style"/>

 

I notice my button dose not take my custom class because the rich faces skin class override my custom css class , i think the logic custom class should be the last css class implemented to take the change but the real case is not that ,is it normal behavior for Richfaces skin or it is a bug ? and how can I implement my case . see the attached image

http://mysite.com/image.gifhttp://mysite.cfdom/image.gif1.bmp