Jump to content

css file doesn't read from header template


phpnoobie9

Recommended Posts

I have an index which includes a header template. The header template has an external link to the css file. For some reason it doesn't show the effects of the css file. When I view the source it shows the correct link. The css will work if I just paste the whole style in  the header section. No biggie, but was just curious why it doesn't work.

are u sure you're calling it from the correct directory?

(its easy to mess this up when including files)

 

try adding a slash and start from the root:

<link rel="stylesheet" href="/path/to/style.css" />

 

if that doesnt work, post some code....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.