title: TreeView control renders as a <div>, causing an unwanted line break
body: <p>I'm trying to create a layout like so:</p>
  
  <p><img src="https://i.stack.imgur.com/T2p9T.png" alt="enter image description here"></p>
  
  <p>On the left hand side I want to add an ASP.NET <code>TreeView</code> control.  Unfortunately, it seems to render as a div, so it causes a line break.  I don't think I can use <code>display:inline</code>, as this doesn't seem to work:</p>
  
  <pre><code> &lt;asp:TreeView ID="TreeView1" runat="server" style="display:inline;"
              onselectednodechanged="TreeView1_SelectedNodeChanged" 
              ontreenodepopulate="TreeView1_TreeNodePopulate" 
              ontreenodeexpanded="TreeView1_TreeNodeExpanded"&gt;
              &lt;SelectedNodeStyle Font-Bold="True" Font-Underline="True" /&gt;
      &lt;/asp:TreeView&gt;
  </code></pre>
  
  <p>My markup is as follows:</p>
  
  <pre><code>&lt;div id="mainDiv"&gt;
      &lt;div id="filters"&gt;
  
      &lt;/div&gt;
      &lt;div id="dMiddle"&gt;
      &lt;span id="sTreeView"&gt;
       &lt;asp:TreeView ID="TreeView1" runat="server" style="display:inline;"
              onselectednodechanged="TreeView1_SelectedNodeChanged" 
              ontreenodepopulate="TreeView1_TreeNodePopulate" 
              ontreenodeexpanded="TreeView1_TreeNodeExpanded"&gt;
              &lt;SelectedNodeStyle Font-Bold="True" Font-Underline="True" /&gt;
      &lt;/asp:TreeView&gt;
      &lt;/span&gt;
      &lt;span id="sGrid"&gt;eventually a grid...&lt;/span&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The issue is the <code>TreeView</code> causes a line break instead of staying in its span (or div or wherever I put it).  </p>
  
  <p>Is there any way around this?</p>