title: html site cant find css although I tried every possible way that has been suggested on Stackoverflow
body: <p>The problem I have is that I have a html site which cant find the css I am linking.
  The html site is opened via flask in my local host which works but I get an error that says that the css file cant be found. If is click on my html file and open it normally, the css works, but via flask not.</p>
  <p>I also tried multiple folder structures:</p>
  <p>1)
  main.py</p>
  <p>templates(folder)</p>
  <p>-index.html</p>
  <p>static(folder)</p>
  <p>-main.css</p>
  <ol start="2">
  <li>current structure:
  main.py</li>
  </ol>
  <p>templates(folder)</p>
  <p>-index.html</p>
  <p>-main.css</p>
  <p>The way I link to my main css with folder structure 2:</p>
  <p><code>&lt;link href=&quot;main.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;</code></p>
  <p>I have also tried al variations from this answere but none of them work.</p>
  <p><a href="https://stackoverflow.com/questions/23992546/html-not-loading-css/23992979">HTML not loading CSS</a></p>
  <p><a href="https://i.stack.imgur.com/qOiz9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qOiz9.png" alt="Main.py" /></a></p>
  <p>[<img src="https://i.stack.imgur.com/SKQXU.png" alt="html filecss file" /></p>