title: c# not recognizing html div element
body: <p>best to show this by code example:</p>
  
  <p><strong>html</strong></p>
  
  <pre><code>&lt;div runat="server" id="PI"&gt; &lt;/div&gt; 
  </code></pre>
  
  <p><strong>c#</strong></p>
  
  <pre><code>protected void addNewProject_Click(object sender, EventArgs e)
  {
      PI.attributes.add("z-index", "0");  
  }
  </code></pre>
  
  <p>basically gives me an error saying "the name PI does not exist int he current context."</p>
  
  <p>Any idea why it says that?</p>