in reply to New to this... CSS styles are not applied to the HTML within the PERL script. Please help!
While not specifically a Perl issue/problem. I can tell you, it's an ENCODING problem. Given this is a Perl forum. I'm going to suggest a few changes, and provide you with the cause. So you will hopefully refrain form doing it again.
The Perl part (use this):
OK. It is clear this is one of those COPY/PASTE problem, and perhaps you, or your editor need to be more alert. :)#!/usr/bin/perl use strict; use warnings; use feature qw(say); use Authen::Captcha; use CGI; # # # # # say qq~<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" + /> # # # # # THE FOLLOWING LINE IS YOUR PROBLEM (explained later) <link href=“styles.css" rel="stylesheet" type="text/css" media="screen +"> <!-- InstanceEnd --></html>~;
Best wishes.
--Chris
ˇλɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH
|
|---|