Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: cgi.pm problem

by neophyte (Curate)
on May 30, 2001 at 19:39 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2024-04-25 00:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found