title: css not working inside div of contentPlaceHolder in asp.net
body: <p>I have a aspx page which is inheriting the master page.So the content in this page are kept inside contentplaceholder.The content has a div say div1 which inturn has two more div say div2 and div3 inside It.When i applay style to the div1 it works but for div2 and div3 it dosen't.
  <br>
  When i use firebug,the style sheet shows only the div id of div1.But i do have div2 and div3 as well.</p>
  
  <p>Here's the code.</p>
  
  <pre class="lang-asp prettyprint-override"><code>&lt;asp:Content ID="Content2" ContentPlaceHolderID="adminCPH1" Runat="Server"&gt;
  &lt;link href="../Styles/adminStyl.css" rel="stylesheet" type="text/css" /&gt;
  &lt;div id="div1"&gt;
     &lt;div id="div2"&gt;
       I am div2 inside div1
     &lt;/div&gt;
  
    &lt;div id ="div3"&gt;
      I am div3 inside div1
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>And here is the stylesheet:</p>
  
  <pre class="lang-css prettyprint-override"><code>#div1
  {
      background-color:red;
      width:300px;
      height:200px
  }
  
  #div2
  {
      background-color:green;
      width:100px;
      height:200px
  }
  
  #div3
  {
      background-color:blue;
      width:100px;
      height:200px
  }
  </code></pre>
  
  <p><strong>EDIT</strong>
  <br>
  This thing is now working.After trying everything two days ago,I left the code as it is and when I ran the program two days after its working good.But when i make the change in css it's still not working.
  I use the firebug and now this shows all the divs I have created.I make change from the firebug,it works.I make change in the original file,nothing change.I don't know what is going on.I guess it will work once again after I restart my PC.</p>