I have a radio button on a form, but the text (labels) are not aligned with the circles of the radio control.
This is the code I have in my view file:
$options = array(
'1m' => '1 month',
'3m' => '3 months',
'6m' => '6 months',
'1y' => '1 year'
);
$attributes = array(
'value' => '1y',
'legend' => false
);
echo $this->Form->radio('sub_type', $options, $attributes);
'1m' => '1 month',
'3m' => '3 months',
'6m' => '6 months',
'1y' => '1 year'
);
$attributes = array(
'value' => '1y',
'legend' => false
);
echo $this->Form->radio('sub_type', $options, $attributes);
The alignment gets worse towards the bottom.
Do I need to edit some CSS to correct this?
Thanks.
-- You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
No comments:
Post a Comment