ActiveCheckbox list - horizontal instead of vertical

I’m trying to use an activeCheckboxlist in a form in my Yii site. When generating the checkboxlist, Yii automatically puts a < br > between the checkboxes.

Is there any way to avoid/override this except with CSS?

I believe you can set the $htmlOptions[‘separator’] to any value. If it’s not set it sets to “<br/>”.