[ic] stylesheets

Zachary Matthews zac@mediapc.com
Tue, 05 Dec 2000 09:09:03 -0800


Yes.  I wrote a script to detect the browser, and serve a different 
style sheet for MAC or PC.  The actual .css file should be located in
HTML space.  You link to it in your HTML doc just as you link to an
image.


[perl]
 $browser = $Session->{browser};

 if ($browser =~ "Mac") {
  $Scratch->{css} = "/store/mvstyle-mac.css";
 }
 elsif ($browser =~ "Win") {
  $Scratch->{css} = "/store/mvstyle-pc.css";
 }
 else {
  $Scratch->{css} = "/store/mvstyle-pc.css";
 }
 return;
[/perl]


<link rel="stylesheet" href="[scratch css]">

Good luck,
Zac
----------
>From: "Anatol Mayr" <mayr@hexagon.at>
>To: <interchange-users@minivend.com>
>Subject: [ic] stylesheets
>Date: Tue, Dec 5, 2000, 8:57 AM
>

> Does anyone use stylesheets with interchange?
>
> Anatol
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>