It seems to me not a question about perl at all. That's not a problem per se but a missing answer for 5 hours might indicate that perlmonks just don't know

You need to find out how to specify transparent background in CSS (and possibly how to selectively apply that to parts of a website, if you need that feature). Read the CSS documentation, look into CSS tutorials or books, or simply ask in a forum full of HTML designers. Type 'css forum' into google and just pick one.

Then just put the correct css as inline css into the script somewhere near line 20:

... print "HTTP/1.0 200 OK\r\n", $cgi->header, $cgi->start_html("Tag Cloud +"); #now the new line print qq{<style type="text/css">\n} . "***here is your css***" . " +</style>"; print $main::cloud->html_and_css(); ...

PS: I shamelessly copied the new line from HTML::TagCloud, where some minimal css is generated in the sub css(), which is called from html_and_css(), which is called from the last line of the code above


In reply to Re: formatting html output by jethro
in thread formatting html output by monk0338gne83

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.