Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: cgi.pm problem

by neophyte (Curate)
on May 30, 2001 at 19:39 UTC ( #84293=note: print w/ replies, xml ) Need Help??


in reply to HTML Tag attribute problems with CGI.pm

bgcolor is not really a tag, but an attribute to the body - tag, so you would have to put:

... -meta=>{'keywords'=>'PMI HR HumanResources', 'copyright'=>'copyright 2001 Kelly Berry'}, -style =>{'src'=>'../style.css'}, -bgcolor =>'blue'); ...

into your code. (Warning: I have not tested that piece of code)
But the body color attribute is already covered with CSS1, so you can put that in with your style-sheet.

neophyte Niederrhein.pm

updated: ah well, I never used cgi to create html, I just moved from here-docs to templates.


Comment on Re: cgi.pm problem
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://84293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2015-07-31 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls