title: How to remove layout scroll bar in primefaces?
body: <p>I am dealing with primefaces and I wanted to use p:layout instead of my own layout. But the p:layoutUnit components are scrollable by default. When I wanted to remove scroll bar I tried :</p>
  
  <pre><code>       &lt;style type="text/css"&gt;
              .ui-layout-center {                    
                  overflow:hidden !important;
              }
  
              .ui-layout-center .ui-layout-unit-content {
                  overflow:hidden !important;
              }     
          &lt;/style&gt;
  </code></pre>
  
  <p>and it removed the scrollbar, but now I cannot see the whole page (the web page became non-scrollable). How can I solve this, do I have to use my own layout?</p>
  
  <p>Thanks in advance.</p>