Forum Moderators: open
<LINK REL=StyleSheet HREF="style.css" TYPE="text/css" MEDIA=screen>or should I just include it in my PHP code as <?php include "/style.css");?> Is it faster one way or an other? Is it more proper, or better implementation? In both cases I can edit a single file.
In your stylereference.html use:
<LINK REL=StyleSheet HREF="style.css" TYPE="text/css" MEDIA=screen>
It may seem long-winded and extra files, but if you decide to change the stylesheet details you will only have to change it in one place. (For example add alternative stylesheets, printing stylesheets, audio stylesheets etc... or the standard changes and you decide that you would be best to add an extra parameter or two).
Of course I could be wrong :D
in any case, it's good practice to use templates and includes. Especially external CSS files, as the browser is able to cache these :)