
css not working inside php script for include(“includes/head.html”);?
Hi
Th style.css for my head.html isnt working when i include head.html inside a php script, have trie d it in many ways:
print "“; include(“includes/head.html”); ?> |
Note:
I have striped out menu.html which is also included in teh same way and works fine with teh same .css file, just to simplify the code above.
The head.html file, works fine when opend on its own, and all .css works fine.
thanks in advance
Tovia S
You need to start by using proper HTML, which includes having
and tags and linking the stylesheet within the like this:
|
include("includes/head.html"); ?> |
If style.css is the only css file you’re using and need, just include it once in the
of your document like in the example above. Also check your includes/head.html file to ensure there aren’t any stylesheets linked or embedded within it; if there are, remove them and place them underneath the link to the styles.css in the as well.Islamic Ethics and The Financial Crisis 1/2