RE: Perl and CSS

by Chuck Evans <Chucke(at)captura.com>

 Date:  Wed, 24 May 2000 09:39:25 -0700
 To:  "'Rob Eager'" <rad_dev(at)ihug.com.au>,
"'HWG Languages'" <hwg-languages(at)hwg.org>
  todo: View Thread, Original
I've used css links in pages generated by Perl with no problems. Possibly
you need to put in the complete path for the style sheet, since the page you
generate with Perl will use your cgi-bin as its relative location.

So, instead of having:

<link rel="stylesheet" href="../style/style.css">

you would use:

<link rel="stylesheet" href="https://hwg.org/style/style.css">

---------------------------------------------------------
Chuck Evans
Web Marketing Manager
Captura Software, Inc.
(425) 424-1155
chucke(at)captura.com
www.captura.com

-----Original Message-----
From: Rob Eager [mailto:rad_dev(at)ihug.com.au]

<snip />

I know that perl has some support for css but I'm not sure what is
needed to make it work.  I've tried putting it in as a normal perl
print statement wherever the script generates a html header but
that's not working.  Could someone please explain what mods are
needed and if it is really worth it (after all it's only the one page
that isn't using the css).

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.