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 other in the way the Javascript and CSS (which both are client-side) are
aware of each other.
Now all that stated I have built systems in the past that will 'create' the CSS
file on the fly
based on the client browser, OS etc. But I've since leaned other techniques
thanks to this group.
P-
--- Richard Hawking <[EMAIL PROTECTED]> wrote:
> I was wondering if it's possible to use a PHP echo within CSS
> styling. Something like:
>
> #<?php echo $pageId; ?> #<?php echo $navId; ?> {color:#666666;}
>
> Would this work? If so, is it advisable to do this kind of thing?
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/