The url of CSS file is "http://127.0.0.1:8080/static/css/todolist.css";
which results in a file not found error.

This is the folder structure:

"K:/.../webapp/"
"K:/.../webapp/templates/"
"K:/.../webapp/webpy/"
"K:/.../webapp/static/css/"

And, these are results for different relative and absolute paths for 3
browsers:

"../../static/css/todolist.css"
IE8     "HTTP/1.1 GET /static/css/todolist.css" - 404 File not found
FF4     "HTTP/1.1 GET /static/css/todolist.css" - 404 File not found
Chrome  Resource interpreted as Stylesheet but transferred with MIME
type text/html.

"../static/css/todolist.css"
IE8     "HTTP/1.1 GET /static/css/todolist.css" - 404 File not found
FF4     "HTTP/1.1 GET /static/css/todolist.css" - 404 File not found
Chrome  Resource interpreted as Stylesheet but transferred with MIME
type text/html.

"K:/.../webapp/static/css/todolist.css"
IE8     works! displays html page and applies css file.
FF4     "HTTP/1.1 GET /" - 200 OK.  doesn't work.  no error message
Chrome  Not allowed to load local resource: "file:///K:/... /webapp/
static/css/todolist.css"

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to