Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: HTML text toner

by belg4mit (Prior)
on Feb 16, 2002 at 22:33 UTC ( [id://145911]=note: print w/replies, xml ) Need Help??


in reply to Re: HTML text toner
in thread HTML text toner

--- /tmp/b Sat Feb 16 17:31:36 2002 +++ /tmp/a Sat Feb 16 17:31:11 2002 @@ -59,7 +59,7 @@ my $current_color = sprintf( "%02x%02x%02x", @start_colors ); # Create the <font> tag with the character and color. - $rainbow .= '<font color="#' . $current_color .'">' . $_ . '</f +ont>'; + $rainbow .= '<font style="color: #' . $current_color .'">' . $_ + . '</font >'; } # Step through the colors.
You could also s/font/span/gm;

--
perl -pe "s/\b;([st])/'\1/mg"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2026-02-13 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.