title: Apply CSS for an HTML generic control like <UL> and <LI> in ASP.NET
body: <p>I don't know how to apply CSS for a HTML generic control like <code>&lt;UL&gt;</code> and <code>&lt;LI&gt;</code> given  <code>runat="server"</code> in ASP.NET. I am finding the <code>&lt;li&gt;</code> in a master page from a content page. Once I found that control I want to apply CSS.</p>
  
  <pre><code>&lt;ul id="mainMenu" runat="server" style="width:350px;"&gt;
      &lt;li id="mainHome" runat="server"&gt;&lt;a title="Home" href="#" class="home"&gt;Home&lt;/a&gt;&lt;/li&gt;
  
      &lt;li id="mainManage" runat="server"&gt;&lt;a title="Manage" href="#"
                                            class="manage"&gt;Manage&lt;/a&gt;&lt;/li&gt;
  
      &lt;li id="mainEnquiry" runat="server"&gt;&lt;a title="Enquiry" href="#"
                                             class="enquiry"&gt;Enquiry&lt;/a&gt;&lt;/li&gt;
  
      &lt;li id="mainReport" runat="server"&gt;&lt;a title="Report" href="#"
                                            class="report"&gt;Reports&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>