Format forms

How do I format the layout of the form?

I would like to align all labels on a column and until all textfield / dropdownlist from another … you can without putting their hands in css?

When you say “format” in web related stuff, you mean at 99% CSS. CSS is formatting and it’s not strictly Yii related.

But with “layout” term you mean also a property of form’s elements, i.e. how to display <label>, <input> hint and error HTML of each element. You can do that looking at APIs @ http://www.yiiframework.com/doc/api/CFormInputElement#layout-detail