the linked style sheet in an html object that is read and "displayed"
dynamically via a perl script is not being considered. its as if its not
there.

THE SCRIPT
#!/usr/bin/perl
use CGI;
open (THENEWS, "news.htm");
print "Content-type: text/html\n\n";
   while ($record = <THENEWS>) {
      print $record;
   }
   close(THENEWS);
exit;



THE HTML = news.htm
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Welcome to the News page:</title>
<link rel="stylesheet" type="text/css" href="program.css">
</head>
<body>
<h1>HI</h1>
</body>
</html>



THE CSS - program.css
body         { background-color:blue }
h1           { font-size: 24pt }
==========

is i just invoke the htm directly - as it - the css works. but through the
perl script, it does not.

any ideas?

thanks!!!

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to