[WSG] PHP includes

2008-02-05 Thread Michael Horowitz
If I am including a menu using the PHP include command but the actuual menu is an html list does the included file need to have its code including the css style sheet or will it use the style sheet of the page it is included to. Also is their a preference in web standards for using PHP

Re: [WSG] PHP includes

2008-02-05 Thread Joseph Taylor
You don't need to add any styles to the include file. Keep in mind the php does its stuff long before any css rules get applied which happens only after the dom is loaded into the user's browser. I cannot speak for SSI as I've never used it once. Always did asp/php includes. Joseph R. B.

Re: [WSG] PHP includes

2008-02-05 Thread Ken Robinson
Quoting Michael Horowitz [EMAIL PROTECTED]: If I am including a menu using the PHP include command but the actuual menu is an html list does the included file need to have its code including the css style sheet or will it use the style sheet of the page it is included to. Any text that's in

Re: [WSG] PHP includes

2008-02-05 Thread Christian Snodgrass
You can basically think of a PHP include as basically just copying everything from the included file into the file it is being included in. Ken Robinson wrote: Quoting Michael Horowitz [EMAIL PROTECTED]: If I am including a menu using the PHP include command but the actuual menu is an html

Re: [WSG] PHP includes

2008-02-05 Thread John Faulds
Also is their a preference in web standards for using PHP includes or something like SSI? SSI stands for server side include which is essentially what a PHP include is. The only difference is the syntax used to call the include. -- Tyssen Design http://www.tyssendesign.com.au Ph: (07)

CLOSED Re: [WSG] PHP includes

2008-02-05 Thread James Ellis
Hi This discussion is off topic for the WSG list. If you would like to respond to Michael, please do so off list. The list guidelines are available at the footer of each list email. Thanks James -- cc:core On Wed, 6 Feb 2008 07:34:22 am Michael Horowitz wrote: If I am including a menu using