Posted by boclair on 08/15/06 12:02
Garry Jones wrote:
> I have several seperate individual php segment which make up my website. To
> check what each segment actuallt displays I am linking my css style to each
> and every segment in a wysiwyg program.
>
> This results in a website with the same css file being called about 20
> times. Of course I can delete all but one of these "link css rows" and then
> add them again as and when a segment needs to be edited.
>
> This seems to be a round about way of doing things even if it gets the job
> done. Is there a more effective way?
I am unsure what you mean by php segments making up your web site, I am
assuming you mean web pages; these pages need a head; however included
files must not include a head, (except a file included in a document for
this purpose).
The <link> attribute must only be placed in the <head>..</head> of the
document.
Any Editor worth its salt will only enable link style sheets to
documents that have a head.
To preview the contents of an included file, it must be seen as part of
a pre-processed document.
If I have misunderstood, please ignore.
Louise
[Back to original message]
|