I usually add the submit button to a new display group, without any of the 
default decorators it usually get barring FieldElements and Fieldset. You can 
then position this like any fieldset but remove and style (or at least de-style 
the fieldset its in) using CSS. It then appears at the bottom of the normal 
display group stack. This might work out for you.

 Pádraic Brady

http://blog.astrumfutura.com
http://www.patternsforphp.com
OpenID Europe Foundation Member-Subscriber




----- Original Message ----
From: Ben Scholzen 'DASPRiD' <[EMAIL PROTECTED]>
To: [email protected]
Cc: Matthew Weier O'Phinney <[EMAIL PROTECTED]>
Sent: Wednesday, June 11, 2008 4:21:26 PM
Subject: [fw-general] Zend_Form and DisplayGroups

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I am currently in trouble getting some form to display like I want. I
have a form with four fields, of which two should be displayed left, and
two right beside them. I solved that by packaging each two in display
groups, and then floated the display groups left. This is fine so far,
but now I need to clear the float after the right display group. This
would usually be no problem with CSS 2, but since the site has to
support Internet Explorer, I must go back to CSS 1, which means I have
to add an empty HTML tag after the right display group, which then
clears the float. What's the best (or any) approach to accomplish that?

Another problem I have is, that the submit button, which is not in those
display groups, is now display above those two display groups, instead
of below, as it was added as last element. Is there an easy way to get
it as last element again?

Best regards,
Ben Scholzen

- --
...................................
:  ___   _   ___ ___ ___ _ ___    :
: |   \ /_\ / __| _ \ _ (_)   \   :
: | |) / _ \\__ \  _/   / | |) |  :
: |___/_/:\_\___/_| |_|_\_|___/   :
:........:........................:
: Web    : http://www.dasprids.de :
: E-mail : [EMAIL PROTECTED]       :
: Jabber : [EMAIL PROTECTED]     :
: ICQ    : 105677955              :
:........:........................:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIT+120HfT5Ws789ARAl+SAJwMq6+JpsIsdeaqHGjrwsIiZsDzWACeJoul
4G/76X4D3e0it8T17Dr+rog=
=ZrMn
-----END PGP SIGNATURE-----

Reply via email to