"Sorry but you haven't really stumbled onto a pot of gold here or anything."
Hmmm... it sounds like using PHP with style sheets isn't a recommended practice.
I wouldn't do it unless I had a good reason to do it. The reason that's cited on the page you referred to
is to have different code in Netscape 4 and "real browsers". So if you have a real need to make pages
pages to look gorgeous in Netscape 4, you might consider it. Or if you want to do
pathologically ;-) advanced and flexible things with styles. Plain CSS is flexible enough for me most
of the time, but it's a good idea to learn it properly.
John Nichel wrote:
If you want PHP to parse your *.css files, you need to tell your webserver software to do so. In Apache....
AddType application/x-httpd-php .php .css
But I'd like to give it a try. Thanks for the tips.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php