title: ASP.Net MVC, How to set an image from an action link as <div> background?
body: <p>I have an image from an Url.Action, like this</p>
  
  <pre><code>&lt;img src="&lt;%= Url.Action("Image") %&gt;" alt="" /&gt;
  </code></pre>
  
  <p>How can I set this image as a background to a div? I tried this:</p>
  
  <pre><code>&lt;div style="background-image:url(/Background/Image)"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>and others, but no success, I'm trying to play with JS over that div, and I need that background.</p>