HTML_QuickForm_SubForm horizontal layout
| From: | Gian Luca Ziosi | Date: | Thu, 29 Mar 2007 14:24:55 +0000 |
| Subject: | HTML_QuickForm_SubForm horizontal layout | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26941@lists.php.net to get a copy of this message | ||
Hi to all.
The class HTML_QuickForm_SubForm extends HTML_QuickForm_static and returns an element of typo "static", inside a HTML table.
How can I do to arrange in horizontal the elements of one or more subforms (one subform per line) produced by FormBuilder, rather than in vertical?
subform default layout is:
------------------------
SF1_Caption1: SF1_Value1
SF1_Caption2: SF1_Value2
...
SF1_CaptionN: SF1_ValueN
------------------------
SF2_Caption1: SF2_Value1
SF2_Caption2: SF2_Value2
...
SF2_CaptionN: SF2_ValueN
------------------------
how to change in...?
Caption1 | Caption2 | ... | CaptionN
-----------+------------+-----+------------
SF1_Value1 | SF1_Value2 | ... | SF1_ValueN
SF2_Value1 | SF2_Value2 | ... | SF2_ValueN
Thanks.