html - css not found (404) - it's adding another css to my path -


i have normal html page on iis8 development machine. basic , doesn't contain code yet.

to head i've added css file deceleration i've created:

<link href="css/catalog.css" rel="stylesheet" /> 

when inspecting either chrome or fiddler reports 404 - not because file isn't there - because it's adding css folder:

get http://localhost/mywebsite/message/css/css/catalog.css 404 (not found)  

which should be:

http://localhost/mywebsite/message/css/catalog.css 

strange thing if change name of folder css works.

any ideas why happening?

thanks

just use , you'll go:

<link href="catalog.css" rel="stylesheet" /> 

edit:

<link href="/catalog.css" rel="stylesheet" /> 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -