title: setting background or background image of a div in asp.net webforms
body: <p>i have a the following code for a following image  path in web project of visual studio solution</p>
  
  <pre><code> Folder1\Images\banner.png'
  
  
  &lt;div id="placeholder"&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>and the css to set the background for this is </p>
  
  <pre><code> #placeholder { 
      position:relative;
      width: 40em;
      margin:auto;
      height:4em;
      margin-top: -1em;
      padding-top: 2em;
      background-image:url('../folder1/Images/banner.png');    
      /* background('('../folder1/Images/banner.png') */
      background-size: 40em;
      background-repeat:no-repeat;    
      clear: right;
      }
  </code></pre>
  
  <p>I also tried with ~ instead of ../ symbol but it doesnt work.</p>
  
  <p>Should i use background-image or background attribute to set the background image of the div. whichever attribute i use i don't get any image in the background.
  please help.</p>