title: How to get two Primefaces panels next to each other?
body: <p>Is there a way in primefaces to place two primefaces panel adjacent to each other ?
  Panels are getting rendered only in vertical alignment.
  Couldn't get them rendered in horizontal alignment , next to each other.
  Tried using h:panelGrid also. But no luck.</p>
  
  <p>Here is the code fragment:</p>
  
  <pre><code>&lt;h:panelGrid&gt;
    &lt;p:row&gt;
    &lt;p:column&gt;
         &lt;p:panel id="panel22" header="New Bill"&gt;
           &lt;p:inputText&gt;aaa&lt;/p:inputText&gt;
         &lt;/p:panel&gt;
    &lt;/p:column&gt;
    &lt;p:column&gt;
      &lt;p:panel id="panel222" header="Chart"&gt;
          &lt;p:inputText&gt;bbb&lt;/p:inputText&gt;
        &lt;/p:panel&gt;
    &lt;/p:column&gt;
   &lt;/p:row&gt;
  &lt;/h:panelGrid&gt;   
  </code></pre>