table formatting

From: Date: Thu, 14 Jul 2005 16:21:45 +0000
Subject: table formatting
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20004@lists.php.net to get a copy of this message
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), '', '', '&nbsp&nbsp'); 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>

« previous php.pear.general (#20004) next »