in reply to Re: Spacing out the radio button in CGI.pm
in thread Spacing out the radio button in CGI.pm

But adding space to the value changes the value. I'd use CGI's support for CSS to insert some padding to those elements.
  • Comment on Re^2: Spacing out the radio button in CGI.pm

Replies are listed 'Best First'.
Re^3: Spacing out the radio button in CGI.pm
by ambrus (Abbot) on Jun 05, 2006 at 12:02 UTC

    Then let's do this instead.

    radio_group(-name => "analysis", -multiple => 1, -values => [ "Light", + "Medium", "Full" ], -labels => {"Light", " Light ", "Medium", " Medi +um ", "Full", " Full "})
Re^3: Spacing out the radio button in CGI.pm
by liverpole (Monsignor) on Jun 05, 2006 at 11:42 UTC
    That's a perfectly good solution as well!  It's just that it's more complicated (ie. takes more work, takes more code, etc.), so it's not quite as quick a fix.  But if keeping the value unchanged is important, then by all means go with CSS.

    s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/