You are here: Re: Same CSS style in php segments. « PHP Programming Language « IT news, forums, messages
Re: Same CSS style in php segments.

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация