flask isnt reading or interpreting css file
Question: Im basically trying to follow this tutorial (
<http://net.tutsplus.com/tutorials/python-tutorials/an-introduction-to-
pythons-flask-framework/>)

Now when the css part comes in, and i copy the code it simply wont come out
styled even afterr main.css is added it still shows up unstyled like if it
wasnt importing the css file heres html code

    
    
        <!DOCTYPE html>
    <html>
      <head>
        <title>Flask</title>    
        <strong><link rel="stylesheet" type"text/css" href="{{ url_for('static', filename='css/main.css') }}"></strong>
      </head>
      <body>
        <header>
          <div class="container">
            <h1 class="logo">Flask App</h1>
          </div>
         </header>
    
        <div class="container">
          {% block content %}
          {% endblock %}
        </div>
      </body>
    </html>
    

layout.html ^  
Home.html v

    
    
        {% extends "layout.html" %}
    {% block content %}
      <div class="jumbo">
        <h2>Welcome to the Flask app<h2>
        <h3>This is the home page for the Flask app<h3>
      </div>
    {% endblock %}
    

routes.py v

    
    
    from flask import Flask, render_template
    
    app = Flask(__name__)      
    
    @app.route('/')
    def home():
      return render_template('home.html')
    
    if __name__ == '__main__':
      app.run(debug=True)
    


Answer: This is probably due to the directory structure of your app. By default, flask
looks for the static directory in the same level as the file that the app
object is created in. This is the example structure for a small application
from the flask docs.

    
    
    /yourapplication
        /yourapplication.py
        /static
           /style.css
        /templates
            layout.html
            index.html
            login.html
    

You can also change the location of the static files by setting the
"static_folder" attribute on the app object. [Check the docs here for setting
the static_folder](http://flask.pocoo.org/docs/api/)

