[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] stylesheets
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
>
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users