3 Replies Latest reply on Jul 29, 2008 10:04 AM by Brian Kates

    Apply style to inputNumberSlider

    Brian Kates Newbie

      I want to center my inputNumberSlider inside of a panel grid. The code is simple:

      <h:panelGrid columns="1" width="100%" columnClasses="cellcentre">
      
       <h:outputText .... some output />
      
       <rich:inputNumberSlider enableManualInput="false" styleClass="cellcentre" />
      
       </h:panelGrid>
      [/code
      
      Other properties (minvalue, maxvalue, value, etc), were removed for brevity.
      
      cellcentre is a style defined as:
      
      .cellcentre{text-align:center; vertical-align: middle;}
      
      The first column (the output text) is centered within the panel grid, but I can't for the life of me get the inputNumberSlider centered. Any suggestions?