[NTLUG:Discuss] Linux, Perl, CGI, Background attribute...

Daniel Hauck xdesign at hotmail.com
Tue Jul 17 16:33:35 CDT 2001


I'm not sure and I don't have the time to test this, but I don't think you
can have more than one <body> statement in a page.

----- Original Message -----
From: "Fred James" <fredjame at concentric.net>
To: <discuss at ntlug.org>
Sent: Tuesday, July 17, 2001 4:07 PM
Subject: Re: [NTLUG:Discuss] Linux, Perl, CGI, Background attribute...


> Page source looks like this:
> (code omitted)
> <BODY BACKGROUND="../path/image.jpg">
> (code omitted)
> and it doesn't work, though the this one for color does:
> (code omitted)
> <BODY BGCOLOR="orange">
> (code omitted)
>
> MadHat wrote:
> >
> > At 12:55 PM 7/17/2001 -0500, you wrote:
> > >The HTML BODY tag attribute BACKGROUND, points to the url of a graphic
> > >file to use as the (tiled) background for the page.
> > >
> > ><BODY BACKGROUND="url">
> > >
> > >I have this to working in an *.HTML file, But I have not been able to
do
> > >so in a Perl *.cgi file, with or without the CGI.pm
> > >
> > >Any pointers would be appreciated.
> >
> > when you views the source what do you see?  How are you trying to use it
in
> > the CGI?
> >
> > print "<BODY BACKGROUND=\"url\">\n";
> >
> > or
> >
> > use CGI qw/:standard/;
> > print start_html(-title=>'test page',
> >                   -body=>{-background=>'url',
> >                           -bgcolor=>'white'});
> >
> > >--
> > >...make every program a filter...
> > >_______________________________________________
> > >http://www.ntlug.org/mailman/listinfo/discuss
> >
> > --
> > MadHat at unspecific.com
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
>
> --
> ...make every program a filter...
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>



More information about the Discuss mailing list