By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,660 Members | 1,230 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,660 IT Pros & Developers. It's quick & easy.

how to put background in header in CGI?

P: 170
hey guys

how do i put my background into the CGI code within the header

i got his code so far
Expand|Select|Wrap|Line Numbers
  1. my $cgi = new CGI;
  3. print
  4.     $cgi->header,
  5.     $cgi->start_html('StarHub Login'),
  6. print    $cgi->end_html();
May 27 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 4,059
not in the header but in the start_html tag:

Expand|Select|Wrap|Line Numbers
  1. $cgi->start_html(-title=>'StarHub Login',-bgcolor=>'blue')
read the CGI module documentation
May 27 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.