Re: table formatting
| From: | Justin Patrin | Date: | Thu, 14 Jul 2005 16:49:33 +0000 |
| Subject: | Re: table formatting | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20008@lists.php.net to get a copy of this message | ||
On 7/14/05, Gerard Bowe <gerard.bowe@jrc.it> wrote:
> I have a form where the bottom row contains Submit and Reset buttons as
> such;
>
> $obj_submit = HTML_QuickForm::createElement('submit', null, 'Submit');
> $obj_reset = HTML_QuickForm::createElement('reset', null, 'Reset');
> $form->addGroup(array($obj_submit, $obj_reset), '', '',
> '  ');
>
> This produces the following html;
> <td></td>
> <td>
> <input value="Submit" type="submit" />
> <input value="Reset" type="reset" />
> </td>
>
> Is it possible to output as
>
> <td colspan=2 class='submit'>
> <input value="Submit" type="submit" />
> <input value="Reset" type="reset" />
> </td>
>
This is a better formulated question than the previous one (no extra
HTML and such) but you really should not ask the same question twice.
Please see my answer to your previous post.
--
Justin Patrin