I have into a problem that I can’t seem to resolve. I have a complex form that renders checkboxes via ActiveForm methods and direct CHtml static methods.
echo $form->checkBox($model,'field1'); echo $form->labelEx($model,field1');
echo CHtml::checkBox('field2',false); echo CHtml::label('label', 'field2');
I see an extra space in the activeForm generated input/label combination. There is no space in the HTML and no CSS. This has been verified many times. The attached file show the activeForm and CHtml fields (bottom ones). You can see no margin in CHtml (as it is in CSS now).
Any ideas how this is happening? Has anyone run into this?