1 Reply Latest reply on Nov 10, 2009 7:40 AM by ilya_shaikovsky

    customize button skins (padding and margin)

    lmk

      Hi all,


      how to update the default padding and margin for buttons, Im using a custom skin properties, when I add :

      button[type="button"], button[type="reset"], button[type="submit"] {
      
       padding: 10px;!important
       }


      it desables the background color and text color defined on the skin properties file.

        • 1. Re: customize button skins (padding and margin)
          ilya_shaikovsky

          checked with the next code:

          <style>
          button, input[type="button"] {
           padding: 10px;!important
           }
          </style>
          <h:form>
          <button>value</button>
          <a4j:commandButton value="value" type="button"/>
          </h:form>

          the buttons has needed padding and default styling also for me. 3.3.3-SNAPSHOT used.