« Return to Thread: Zend_Form decorator changes & sample css

Re: Zend_Form decorator changes & sample css

by Matthew Weier O'Phinney-3 :: Rate this Message:

Reply to Author | View in Thread

-- Neil Garb <neil.garb@...> wrote
(on Tuesday, 22 January 2008, 09:52 PM +0200):
> I think that's one big problem with definition lists in this case: the
> dt/dd combo has no wrapping element so it's difficult to use
> 'clearfix' techniques to get IE6 (and I think other browsers, too) to
> render floating elements correctly.

It's going to be tricky whenever you're using display groups or subforms
to have an auto-rendering technique that is clean and easy to use with
CSS. If you have a complex form, you're probably better off creating
your own decorators or simply creating the form from the form + elements
within a view script.

> On Jan 22, 2008 9:47 PM, Eric Coleman <eric@...> wrote:
> > Does anyone have any sample css for styling the "new" output from
> > Zend_Form?  I had a terrible time trying to get something looking
> > right with the groups/subforms being instead a dd, and was curious if
> > anyone really tried yet to make them look pretty :-d

--
Matthew Weier O'Phinney
PHP Developer            | matthew@...
Zend - The PHP Company   | http://www.zend.com/

 « Return to Thread: Zend_Form decorator changes & sample css