On further investigation it seems its also to do with the break tag the formRadio view helper inserts between the radio buttons. Seems a good way to do it is to override this and pass a noColumns argument and use table tags as separators (My CSS is not great - if yours is better pls show me some!). Note the radios are in a DisplayGroup.
Unfortunately, I'm having problems getting my custom view helper picked up by ZF - using the addViewHelper - as it seems are a few folks.. Jason Webster wrote: > > Sounds like a job for CSS! > > Using the default decorators, a form is displayed using definition > lists. The indentation you are seeing are the default margins and > padding of the definition list, terms, and description tags. > > Of course, if you'd prefer complicated markup, you could always > implement custom decorators. > > nolner wrote: >> Standard display group formatting is pretty unimpressive. Eg radio button >> lists are one per line, and text element fields are indented below their >> labels. >> >> How do I render lists in several columns, and format text fields opposite >> their labels? >> >> It would be really neat if both of these were options on the >> element/form. >> > > > -- View this message in context: http://www.nabble.com/Zend_Form---display-group-formatting-tp19080972p19083670.html Sent from the Zend Framework mailing list archive at Nabble.com.
