in reply to Re: Optional FONT tag
in thread Optional FONT tag
Or, to do this with style sheets:use CGI qw(:standard :html3); ... print span({-style => 'Color: red;'}, "I'm an error value!");
I'll leave getting the style sheet defined as an open-book excercise. Reading the CGI.pm POD is allowed and encouraged.use CGI qw(:standard :html3); ... print span({-class => 'Error'}, "I'm an error value!");
|
|---|