From: Reini U. <ru...@x-...> - 2002-08-02 09:48:51
|
patch to improve aesthetics on input buttons. tested on IE5 and Mozilla. Note: IE5 draws the DIV tag until the right side of the page or table, Mozilla only leaves some cellspacing, SPAN leaves no space around. Please test this on other browsers before I submit this. $ diff -bu lib/plugin/WikiForm.php~ lib/plugin/WikiForm.php --- lib/plugin/WikiForm.php~ 2002-07-24 17:17:33.000000000 +0000 +++ lib/plugin/WikiForm.php 2002-08-02 09:44:11.000000000 +0000 @@ -86,7 +86,7 @@ $input->addTooltip($buttontext); $button = Button('submit:', $buttontext, $class); - $form->pushContent(HTML::div(array('class' => $class), + $form->pushContent(HTML::span(array('class' => $class), $input, $button)); return $form; -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |