Re: [css-d] Possible to use a PHP echo within CSS?

2005-08-07 Thread Mike Stickel
On Aug 6, 2005, at 2:44 PM, Richard Hawking wrote: I was wondering if it's possible to use a PHP echo within CSS styling. Something like: # # {color:#66;} Would this work? If so, is it advisable to do this kind of thing? As much as I agree that PHP and CSS should probably stay separate,

Re: [css-d] Possible to use a PHP echo within CSS?

2005-08-07 Thread Paul Roberts
> 2) In PHP, this: > > > ...is the same as > short tags like to send the css file compressed to compatible clients and save bandwidth. -- Paul Roberts [EMAIL PROTECTED] ¬¬ __ cs

Re: [css-d] Possible to use a PHP echo within CSS?

2005-08-06 Thread Paul Menard
I 'think' you are confusing two different technologies. PHP is a server-side executed languages and requires an installed parser running under the web server (Apache, IIS etc.) Since you on this list I'm assuming you know CSS is a client-side language. These two languages are not aware of each o

Re: [css-d] Possible to use a PHP echo within CSS?

2005-08-06 Thread Kelly Miller
Because CSS files are obtained using HTTP (like HTML), you can add PHP into CSS simply by making the file style.php instead of style.css . Otherwise, it's exactly the same as including a static CSS file. Richard Hawking wrote: I was wondering if it's possible to use a PHP echo within CSS styl

Re: [css-d] Possible to use a PHP echo within CSS?

2005-08-06 Thread Mark Lundquist
On Aug 6, 2005, at 1:44 PM, Richard Hawking wrote: I was wondering if it's possible to use a PHP echo within CSS styling. Something like: # # {color:#66;} Would this work? If so, is it advisable to do this kind of thing? Well I think PHP is inadvisable, but that would probably not be a

[css-d] Possible to use a PHP echo within CSS?

2005-08-06 Thread Richard Hawking
I was wondering if it's possible to use a PHP echo within CSS styling. Something like: # # {color:#66;} Would this work? If so, is it advisable to do this kind of thing? __ css-discuss [EMAIL PROTECTED] http://www.css-discu