Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Same CSS style in php segments.
- Garry Jones
August 15, 2006, 5:50 am
rate this thread
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?
Re: Same CSS style in php segments.
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
The <link> attribute must only be placed in the <head>..</head> of the
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.