HashanChamara / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
0 stars 0 forks source link

Formating issue #110

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Totally different view on FF3 and GoogleChrome. (see attached picture)

Code to generate the form:
<i>
$form = new form("item");
      $form->setAttributes(array(
       "width" => "500",
       "labelWidth" => "100",
       "labelPaddingTop" => "0.5em",
       "jsIncludesPath" =>  "libs/php-form-builder-class/includes",
               ));

      $form->addTextbox("Produs:", "item", "",array("required" => 1,"width"=>"201"));
      $form->addTextbox("Produs1:", "item1", "",array("required" => 1,"width"=>"201"));
      $form->addSelect("Categorie:", "categoryid", "", $categorys,array("required" => 1));
      $form->addCaptcha("");
      $form->addButton();

      $form->render();
</i>

Also, please take a look at code 
<i>
                    $str .= <<<STR
$id .pfbc-main {
    width: {$formWidth}$formWidthSuffix;
}

STR;

from class.form.php because if I comment out that code the form shows somehow 
ok, but is not the same on both browsers.
</i>

Original issue reported on code.google.com by cosmin.t...@gmail.com on 27 Feb 2011 at 11:59

Attachments: