andrey613 / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 0 forks source link

Default css not working correctly #133

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
<?php
session_start();
include($_SERVER["DOCUMENT_ROOT"] . "/PFBC/Form.php");
$form = new PFBC\Form("GettingStarted", 300);
$form->addElement(new PFBC\Element\Textbox("My Textbox:", "MyTextbox"));
$form->addElement(new PFBC\Element\Button);
$form->render();

What is the expected output? What do you see instead?

The border wraping around the textBox is way too little, it only wraps around 
50% of the TextBox height, so it doesn't look nice.

Also, it doesn't seem clear to me how to change the default css:

<link type="text/css" rel="stylesheet" 
href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/smoothness/jque
ry-ui.css"/>

Changing it I think it would likely solve the problem. 

What version of the product are you using? On what operating system?

PFBC 2.0 php >= 5.3

Original issue reported on code.google.com by rfc1...@gmail.com on 10 May 2011 at 8:54

Attachments:

GoogleCodeExporter commented 8 years ago
I found the solution in another open issue: 

http://code.google.com/p/php-form-builder-class/issues/detail?id=132&colspec=ID%
20Type%20Status%20Priority%20Stars%20Owner%20Summary

May be it should be added to the documentation?

I still don't know how to change the default css though (neither how to add my 
own js script).

Original comment by rfc1...@gmail.com on 10 May 2011 at 8:59

GoogleCodeExporter commented 8 years ago
I have the same issue but the doctype and the namespace in the html tag were 
not sufficient to correct the issue.
Any ideas?
Thanks a lot

- Leo

Original comment by leo.t...@gmail.com on 23 Nov 2011 at 3:57