title: How to add css for div tag and Panel in asp
body: <p>How do I add css for the Panle and the div tag, I am new to this I tried many ways but could not make it to work. How should I add css for individual Panel and individual Div tag. Thanks</p>
  
  <pre><code>&lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server"&gt;
      &lt;link href="Styles/AboutUs.css" rel="stylesheet" type="text/css" /&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server"&gt;
      &lt;asp:Panel ID="Panel2" runat="server" &gt;
           &lt;div id="main"&gt;
           &lt;/div&gt;
      &lt;/asp:Panel&gt;
  &lt;/asp:Content&gt;
  
  
  CSS:
  ----
  .Panel2
  {
  position: relative;
   top: -11px;
   left: -20px; 
   height: 450px;
   width: 928px;
  }
  
  
  .main
  {
  position: relative;
  top: 17px;
  left: 154px;
  height: 110px;
  width: 691px;
  }
  </code></pre>