[thelist] (OT) Stylesheet based on URL
Ken Schaefer
ken at adOpenStatic.com
Thu Nov 6 05:07:42 CST 2003
If this is ASP.Net you don't want to do it this way...
Cheers
Ken
Microsoft MVP - Windows Server (IIS)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Les Lytollis" <leslytollis at dimensions-corporatewear.co.uk>
Subject: RE: [thelist] (OT) Stylesheet based on URL
Exactly what I was after -
cheers guys!
LezL
>
> the script I'm using is ASP:
>
> URLString = request.servervariables("HTTP_HOST")
> if instr(1,URLString, "subdomain1",1)>0 then
> response.write("<LINK REL=""stylesheet""
> TYPE=""text/css"" HREF=""subdomain1.css"">" & vbcrlf) else
> response.write("<LINK REL=""stylesheet""
> TYPE=""text/css"" HREF=""default.css"">" & vbcrlf) End If
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the thelist
mailing list