title: which is best way to set background url in css?
body: <p>I am new to mvc application and creating site in aspx view engine.
  i have a css file in mycss/style.css and images are in images/img1.jpg.
      what is the difference between</p>
  
  <pre><code> background: url("../images/img1.jpg") no-repeat;
   and background: url("~/images/img1.jpg") no-repeat;
  </code></pre>
  
  <p>in style.css</p>