phpnoobie9 Posted March 11, 2008 Share Posted March 11, 2008 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. Link to comment https://forums.phpfreaks.com/topic/95533-css-file-doesnt-read-from-header-template/ Share on other sites More sharing options...
soycharliente Posted March 11, 2008 Share Posted March 11, 2008 Can we see some code? Link to comment https://forums.phpfreaks.com/topic/95533-css-file-doesnt-read-from-header-template/#findComment-489210 Share on other sites More sharing options...
Northern Flame Posted March 11, 2008 Share Posted March 11, 2008 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.... Link to comment https://forums.phpfreaks.com/topic/95533-css-file-doesnt-read-from-header-template/#findComment-489228 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.