Syntactic Confectionery Delight | |
PerlMonks |
CGI.PM checkbox_group background colorby jhuijsing (Acolyte) |
on Aug 23, 2013 at 05:14 UTC ( [id://1050590]=perlquestion: print w/replies, xml ) | Need Help?? |
jhuijsing has asked for the wisdom of the Perl Monks concerning the following question: Using CGI.pm Does anybody know if its possible to add a span with a style to the label element that are generated by the checkbox_group or do i need to roll my own routine to do this? John Digging through the code I found about LABELATTRIBUTES So you can do this. SO you can apply a style -labelattributes => "" It not the same as -attributes tag which is reference to hash, were you have the attribute's name as the key and the attribute's value as the value. But, I want to apply a different background color to subset of the checkboxes.
Back to
Seekers of Perl Wisdom
|
|