Hi All,
You can also do ..
if(strpos($HTTP_SERVER_VARS["HTTP_USER_AGENT"], "Macintosh")):
$mysite_style = "mysite_mac.css"; /* MACINTOSH */
else:
$mysite_style = "mysite_win.css"; /*WINDOZE */
endif;
echo "";
So you can combines both browsers and OS's
Regards
Steve Farmer
BDY.RTF
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
document.write('<link rel=stylesheet type="text/css" href="'
+StyleSheet + '">')
All the Best
Lisa
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 11:31 AM
To: [EMAIL PROTECTED]; [EMAIL P
BDY.RTF
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Matt,
I recommend using separate style sheets. This is especially important
when your users are browsing a record set, say 10 records at a time.
There is no need to pass them the style sheet embedded in the PHP page
for every page view. If the stylesheet is a file on the file system, it
is more e
"Matt Braynard" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| When I asked the question, what I meant was should I use the
includes to
| hold page style details or a CSS file. And someone who understood
that this
| was not an apples and oranges situation but
way to go.
-Original Message-
From: Patrick Dunford [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 01, 2001 6:58 PM
To: [EMAIL PROTECTED]
Subject:RE: [PHP-DB] CSS versus Includes
On 31 Mar 2001 13:19:45 -0800 AD in php.db, Michael Geier said:
>this post is about app
On 31 Mar 2001 13:19:45 -0800 AD in php.db, Michael Geier said:
>this post is about apples and oranges...
>
>CSS (Cascading Style Sheets) have nothing to do with includes.
>They only have to do with formatting elements on a web page.
>They can be written inside the document, or can referenced
>e
this post is about apples and oranges...
CSS (Cascading Style Sheets) have nothing to do with includes.
They only have to do with formatting elements on a web page.
They can be written inside the document, or can referenced
externally via a tag.
Includes can be anything from a configuration fil