Hi,
I am working on new version of a site that requires an application form for membership, this is so that certain features of the site are only available to members. The site is aimed at Church Leaders and requires a lot of information from them. I have two questions relating to form layout and formatting.
1) How do you remove the border from a text area?
2) How do you format an input text field to display a date format of dd/mm/ccyy?
Being able to do this would improve the display of the form and the usability of the form.
Unfortunately all of the development is local and so I am not able to the show an example. Howver, the code of note at this point is:
HTML:
CSS
Any help with this greatly appreciated.
Nathan
I am working on new version of a site that requires an application form for membership, this is so that certain features of the site are only available to members. The site is aimed at Church Leaders and requires a lot of information from them. I have two questions relating to form layout and formatting.
1) How do you remove the border from a text area?
2) How do you format an input text field to display a date format of dd/mm/ccyy?
Being able to do this would improve the display of the form and the usability of the form.
Unfortunately all of the development is local and so I am not able to the show an example. Howver, the code of note at this point is:
HTML:
Code:
<form action="application.php" method="post"> <div class="row"> <h4 class="eventListItem">Personal Details </h4> </div> <div class="row"> <span class="label"> Forename(s): </span> <span class="formw"> <input type="text" size="30" /> </span> </div> <div class="row"> <span class="label"> Surname: </span> <span class="formw"> <input type="text" size="30" /> </span> </div> <div class="row"> <span class="label"> Date of Birth: </span> <span class="formw"> <input type="text" size="30" /> </span> </div> <div class="row"> <span class="label"> Note: </span> <span class="formw"> <textarea cols="30" rows="8"> </textarea> </span> </div> <div class="row"> <span class="label"> Gifting: </span> <span class="formw"> <textarea cols="30" rows="8"> </textarea> </span> </div> <div class="row"> <span class="label"> Specialist subject: </span> <span class="formw"> <textarea cols="30" rows="8"> </textarea> </span> </div> <div class="row"> <h4 class="eventListItem">Contact Details</h4> </div> </form>
Code:
/* Form Design */ div.row { clear: both; padding-top: 3px; padding-bottom: 5px; } div.row span.label { padding-left: 10px; padding-right: 0px; float: left; width: 100px; text-align: right; } div.row span.formw { float: right; width: 455px; text-align: left; }
Nathan
Comment