Re: HTML_QuickForms and standards
| From: | Ade Olonoh | Date: | Fri, 07 Apr 2006 22:01:19 +0000 |
| Subject: | Re: HTML_QuickForms and standards | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23583@lists.php.net to get a copy of this message | ||
I'm not 100% sure this is what you're asking, but this stylesheet would
convert your HTML to a table format. The only problem is that it uses a
fixed label width.
<style type="text/css">
label {
clear: left;
float: left;
width: 100px;
}
input {
float: left;
}
</style>
Jad madi wrote:
> any idea how to use quickforms to generate table-less forms?
> lets say I want form with the following structure
>
> <form>
> <fieldset>
> <legend>Personal information</legend>
> <label for="name">Name</label>
> <input id="name" name="name"><br />
>
> <label for="address">Address</label>
> <input id="address" name="address"><br />
>
> <label for="city">City</label>
> <input id="city" name="city"><br />
>
> </fieldset>
> <fieldset>
> <legend>Login information</legend>
> <label for="uname">user-Name</label>
> <input id="uname" name="uname"><br />
>
> <label for="password">password</label>
> <input id="password" name="password"><br />
> </fieldset>
> </form>
>
> Thanks
>
>
--
Ade Olonoh, Owner/Software Developer
Recursive Function, LLC - Web-based software development
http://recursivefunction.com | http://www.formspring.com