title: How to set the div width dynamically
body: <p>I want to set the width of a div using a value from my datasource. Is this possible?</p>
  
  <p>I tried using the code below but the width is not set.</p>
  
  <pre><code>&lt;%-- Percentage Complete --%&gt;
  &lt;div runat="server" style="width: 100%; background-color: aqua;"&gt;
      &lt;div style="width:&lt;%#(Eval("Percentage"))%&gt;;background-color:yellow;"&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is to show the progress so far like a progress bar.</p>
  
  <p>Thanks</p>
  
  <p>David</p>