You are here: Re: [newbie] how to style form with css? « PHP Programming Language « IT news, forums, messages
Re: [newbie] how to style form with css?

Posted by Steve on 01/23/06 19:13

On Mon, 23 Jan 2006 11:05:20 -0500, JackM wrote:

> Jerry Stuckle wrote:
>> JackM wrote:
>>
>>>
>>> Use a php include:
>>>
>>> include( $_SERVER['DOCUMENT_ROOT'] . "/cssfile.css" );
>>>
>>> or you may need something like
>>>
>>> include("/var/www/public_html/yoursite/cssfile.css");
>>>
>>> Of course, you need to aim the path to fit your server's needs. If you
>>> need more information, try Googling "php include css file"
>>>
>>>
>>>
>>
>> You don't include CSS files. You link to them.
>
> No, mine are included in a file called sitecss.css along with a browser
> sniffer and called with a function. May not be your way but it works
> just fine. The function:
>
> <?php
> //note that this is NOT the complete script pasted here, just the function
>
> function css_site() {
>
[snip]
> ?>

Ah, so they're *generated* inline by an included file. Minor difference (:

Steve.

 

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

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