Silly CSS ref problem.
Posted
by
Lucifer
on Stack Overflow
See other posts from Stack Overflow
or by Lucifer
Published on 2011-01-14T17:45:14Z
Indexed on
2011/01/14
17:53 UTC
Read the original article
Hit count: 329
Hi All,
I am having a very weird problem. I cannot for the life of me figure it out.
The code for my page (at the moment), is this:
<link rel="stylesheet" href="assets/css/default.css" />
But, why does it not load the stylesheet?
When I move the stylesheet into the same location as the index.html page, and then change the references to it to point to the root dir, it works again?
It never wants to work if the stylesheet is any more than 1 directory deep.
Is this normal? Or should it still work?
© Stack Overflow or respective owner