Giving Style To DIV"S on Master Pages
<p>Somethings wrong is happened here is I can't draw my css styles to my divs.
This is my code of Default.aspx:</p>

<pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/MyMasterStyle.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="masterPagesExample.Default" %&gt;
&lt;asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"&gt;
&lt;/asp:Content&gt;
&lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"&gt;
    Welcome to our web site.good news for it people,write here, that is &lt;br /&gt;
Will help you to up to date your experiance.
&lt;/asp:Content&gt;
</code></pre>

<p>And here is part of the css :</p>

<pre><code>#footer 
{
    width:700px;
    margin:0 auto 0 auto;
    background-color:#00ff00;
    color:#101010;
}
</code></pre>

<p>and here is the master page soruce file:</p>

<p>
    </p>

<pre><code>&lt;div id="page_wrapper"&gt;

    &lt;div id="header"&gt;
           &lt;h1&gt;Welcome To Our Website !&lt;/h1&gt;
           &lt;h3&gt;World is in your hands...&lt;/h3&gt;
           &lt;br /&gt;
           &lt;br /&gt;
    &lt;/div&gt;
    &lt;div id="post-content"&gt;
        &lt;asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"&gt;

        &lt;/asp:ContentPlaceHolder&gt;
    &lt;/div&gt;

    &lt;div id="footer"&gt;
        &lt;p&gt;Copyright &amp;copy&lt;/p&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;/form&gt;
</code></pre>

<p></p>

<p>In design view every things appears good . but when I run app , no css will apply.</p>

<p>Where is the problem ?</p>

<p>Should I set something in masterpage ?</p>

<p>I have linked the css file in the head of master page.</p>
