title: Thymeleaf + CSS+SpringBoot
body: <p>I have a problem with CSS and Thymeleaf.</p>
  
  <p>In my Spring boot app, I have this structure:</p>
  
  <ul>
  <li>src/main/resource/static/css (for css files)</li>
  <li>src/main/resource/static/templates (for html file)</li>
  </ul>
  
  <p>Now, with my html page named ErrorPage and css file named Layout.css, using Thymeleaf I have, in the head of ErrorPage:</p>
  
  <pre><code>&lt;link href="../css/Layout.css" th:href="@{css/Layout.css}" type="text/css" /&gt;
  </code></pre>
  
  <p>But this does not work.</p>
  
  <p>What am I doing wrong?</p>