[NTLUG:Discuss] Linux, Perl, CGI, Background attribute...
Fred James
fredjame at concentric.net
Tue Jul 17 16:53:36 CDT 2001
Sorry, the code shown was intended to be seen as 2 snippets: (a) as it
was when attempting to use a background url, and (b) when simply using a
background color (i.e.: one <BODY ...> tag per page/file).
Daniel Hauck wrote:
>
> 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
> >
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
--
...make every program a filter...
More information about the Discuss
mailing list