Sawsan Sarandah wrote:
 
> Greetings,
>
> In a checkbox form, how can I change the <font> attribute for the "label"
> text below to Arial instead of the default?
>
> $cgi->checkbox(-name=>'checkboxname',-value=>'turned on',-label=>"I want
> Arial here");

As far as I know the label is not part of the checkbox, rather associated with it
using the for attribute.(<.checkbox name=here><.label for=here>sign me up<./label>)

I don't program in perl yet, I'm just trying to learn for now. But if the cgi module
supports the style attribute for html elements, then this is how I would assume to do 
it.
$cgi->label(-style=>'font-family:Arial;')

Hope Thats Helps

-- Curt


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to