RE: [PHP] Stylesheets
| From: | PHPBeginner.com | Date: | Sat, 17 Feb 2001 11:20:06 +0000 |
| Subject: | RE: [PHP] Stylesheets | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40316@lists.php.net to get a copy of this message | ||
YES! YES! IT'S PHP!!!
</kidding>
Michael, PHP just writes for you some text based on certain conditions and
the data from db or whatever ...
That text can be used for anything like HTML, JavaScript, sending emails or
even write a whole C software (with an fopen of course... is that possible?
I think it could be)
Anyway my point is that the code is the same for you css. Whether Netscape
on RH6 reads it or not is not a PHP business... It just sent a code and that
is it.
Do what: make a function to detect the browser. Define which CSS are the
best for each.
and then:
$css = get_browser();
include("$css.css")
Having a whole bunch of different css files, including only the perfect
ones.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Michael Hall [mailto:lists@mulga.com.au]
Sent: Saturday, February 17, 2001 6:26 PM
To: PHP List
Subject: [PHP] Stylesheets
I'm building a PHP application which uses stylesheets. Stylesheets seem to
be broken in a big way on my system - using Netscape 4 something on Red
Hat 6.1.
Is this Netscape or somehow something to do with PHP? Things work as
they're supposed to viewing the pages on a Windows/IE box.
Mick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net