title: Setting CSS style attributes with thymeleaf
body: <p>How to set the background property of a style tag with a thymeleaf resolved url.</p>
  
  <p>I have </p>
  
  <pre><code>&lt;div style="background:url('&lt;url-to-image&gt;')"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Is there a <code>&lt;img th:src="${@/&lt;path-to-image&gt;}"&gt;</code> equivalent for setting style attributes in thymeleaf.</p>