
andreypz
New User
Aug 14, 2008, 5:00 AM
Post #1 of 5
(833 views)
|
|
CGI Form -> radio_group -> text color?
|
Can't Post
|
|
Hello, please look at this code I use:
my %opt = ( '1' => 'first line', '2' => 'second line', '3' => '--3d line--'); print $q->radio_group( -name => 'myname', -values => [sort keys %opt], -labels => \%opt, -columns => 1 ); Now, assume that I want '3d line' to be red, How can I do that? Note that this doesn't help:
-attributes => {'3' => {'style' => 'color: red'}}, because it affects only on the 'circle' not a text near it.
(This post was edited by andreypz on Aug 14, 2008, 5:02 AM)
|