title: add background image to asp.net master web page asp.net 4.0 and html5
body: <p>Using ASP.NET, C#, HTML5 and CSS3. My MasterPage is not recognizing the background image I have set in my stylesheet. I found an answer from 2009 on the ASP.NET forums from an MSN developer and it is still not working. After checking the code, the answer is relevant to XHTML transitional, the default doctype for .NET in Visual Studio.</p>
  
  <p>Any suggestions? Thank you in advance.</p>
  
  <pre><code>&lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;asp:ContentPlaceHolder id="head" runat="server"&gt;
      &lt;/asp:ContentPlaceHolder&gt;
  
      &lt;link href="../changes.css" rel="stylesheet" type="text/css" /&gt;
      &lt;link href="../style.css" rel="stylesheet" type="text/css" /&gt;
      &lt;/head&gt;
      &lt;body&gt;
  
      &lt;form id="form1" runat="server"&gt;
      &lt;div id="PageWrapper"&gt;
  
  
      html, body {
      background-color: #000;
      background-image: url('../images/darker_wood_1600x1200.jpg');
      background-attachment: scroll;
      background-repeat: repeat-x;
              }
  
  
  
  
  
  
      &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;meta charset="utf-8" /&gt;
  
  &lt;head&gt;&lt;title&gt;
  
  &lt;/title&gt;
  &lt;link href="changes.css" rel="stylesheet" type="text/css" /&gt;&lt;link href="style.css" rel="stylesheet" type="text/css" /&gt;&lt;/head&gt;
  &lt;body&gt;
  
      &lt;form method="post" action="Default.aspx" id="form1"&gt;
  &lt;div class="aspNetHidden"&gt;
  &lt;input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTY1NDU2MTA1MmRkM1MGX8QufJ31wnSeINevDB81G3lHsitto4ucLAdg6zs=" /&gt;
  &lt;/div&gt;
  
      &lt;div id="PageWrapper"&gt;
  
      &lt;div id="Header"&gt;&lt;a href="./"&gt;Header here
          &lt;/a&gt;&lt;/div&gt;
  
      &lt;div id="MenuWrapper"&gt;Menu here&lt;/div&gt;
  
      &lt;div id="MainContent"&gt;
  
  
      &lt;/div&gt;
  
      &lt;div id="Sidebar"&gt;Sidebar here&lt;/div&gt;
      &lt;div id="Footer"&gt;Footer here&lt;/div&gt;
      &lt;/div&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>
  </p>