override Master Page CSS div width in Child Page
<p>I've set a specific width to the body div in my Master Page and I want to change that in a Child Page that belongs to the Master Page. Is this possible? I've been searching and I think what I need is javascript.</p>

<p>I haven't used javascript before though, but here's what I've tried:</p>

<pre><code>&lt;asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"&gt;

    &lt;script type="text/javascript"&gt;
      {
            document.getElementById("pagediv").style.width = "200px";
        }
    &lt;/script&gt;

&lt;/asp:Content&gt;
</code></pre>
