Color Vs. No Color question

Joe Crawford joe at
Mon Jun 16 22:52:28 CDT 2003

On Mon, 16 Jun 2003, Joel Fentin wrote:
> I recently made a discovery of more than passing interest to me. Those
> perl programs written with object oriented perl are drained of their
> color on Mozilla browsers and Netscape 7. Those written with print
> statements using html tags retain their color. Both types of programs
> always retain their color on older versions of Netscape and on Internet
> Explorer. Do I have to use html tags to retain color on all browsers?
> See:
> ==============================================
> #!/usr/bin/perl -w
> #!/perl/bin/perl -w
> use strict;use CGI;
> my $co = new CGI;
> print $co->header,
> $co->start_html(-title=>'test1',-bgcolor=>'DDDDDD'),

valid hex notated color names should begin with the pound sign, i wonder
if that's the problem you've come across.... check:

> <body bgcolor="CCCCCC">

also note that #DDDDDD is a very pale grey that might be too subtle to
notice on some displays. #CCCCCC should be fine though.

My 2 cents,

Joe "ArtLung" Crawford
San Diego California USA:


The posting address is: san-diego-pm-list at

List requests should be sent to: majordomo at

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at> .
This is the general rule for most mailing lists when you need
to contact a human.

More information about the San-Diego-pm mailing list