space between the radio button and label Cakephp
问题 i am newbie in Cakephp trying to create a space between radio box and a label <span class="label"><b>Gender</b></span> <?php $options=array('M'=>'Male'."<br>" , 'F'=>'Female'); $attributes=array('legend'=>false,'label'=>'gender_male.','class'=>'radio'); echo $this->Form->radio('gender',$options,$attributes);?> </div> i have created a radio box in Cakephp but there is no space between the box and label is coming ... how can i create a space . 回答1: Try it <span class="label"><b>Gender</b></span