title: How can I display two asp:Panel controls side by side?
body: <p>I have two panels. I want to show them abreast, but they don't.</p>
  
  <h1>.aspx:</h1>
  
  <pre><code>&lt;asp:Panel ID="treeviewMenu" Width="20%" Height="500" runat="server" ScrollBars="Both" HorizontalAlign="Left"&gt;
      &lt;asp:TreeView ID="treeview" runat="server" ShowLines="True" ImageSet="XPFileExplorer" OnSelectedNodeChanged="treeview_SelectedNodeChanged"&gt;
      &lt;/asp:TreeView&gt;
  &lt;/asp:Panel&gt;
  
  &lt;asp:Panel ID="qvObjektMenu" Width="75%" Height="500" runat="server"  HorizontalAlign="Right"&gt;
      &lt;asp:Table runat="server" HorizontalAlign="Right"&gt;
          &lt;asp:TableRow&gt;
              &lt;asp:TableCell&gt;
                  &lt;asp:Label runat="server"&gt;
                      QVObjekt Id:
                  &lt;/asp:Label&gt;
              &lt;/asp:TableCell&gt;
              &lt;asp:TableCell&gt;
                  &lt;asp:Label ID="qvObjektId" runat="server"&gt;&lt;/asp:Label&gt;
              &lt;/asp:TableCell&gt;
          &lt;/asp:TableRow&gt;
      &lt;/asp:Table&gt;
  &lt;/asp:Panel&gt;
  </code></pre>
  
  <p>I have used a table outside this two elements, another Panel around them, nothing works.
  How can I resolve this?</p>