横排:
echo $form->radiobuttonlist($model, ‘type’,$arrtype,array(‘template’ => ‘<li style=”display:inline-block;width:120px;”>{input} {label}</li>’,'separator’ => ”))
主要是display:inline-block
去<br>:
echo $form->radiobuttonlist($person,’gender_code’, array(‘m’=>’male’,'f’=>’female’),array(‘separator’=>”));
把 separator 设为空就行了