title: C# Adding style to a control
body: <p>I have a Panel and I am adding controls inside this panel.  But there is a specific control that I would like to float. How would I go about doing that?</p>
  
  <p>pnlOverheadDetails is the panel name</p>
  
  <pre><code>pnlOverheadDetails.Controls.Add(lnkCalcOverhead);
  </code></pre>
  
  <p>The control named lnkCalcOverhead is the control I'd like to float.</p>
  
  <p>Thanks in advance</p>
  
  <p>EDIT: By float I meant the css style not anything fancy :)</p>