Home Answers Viewqa HTML use tables to structure forms

 
 


Clark
use tables to structure forms
1 Answer(s)      2 years and 8 months ago
Posted in : HTML

How can I use tables to structure forms?

View Answers

November 2, 2010 at 12:57 PM


Hi friends,
Small forms are sometimes placed within a TD element within a table. This can be a useful for positioning a form relative to other content, but it doesn't help position the form-related elements relative to each other. To position form-related elements relative to each other, the entire table must be within the form. You cannot start a form in one TH or TD element and end in another. You cannot place the form within the table without placing it inside a TH or TD element. You can put the table inside the form, and then use the table to position the INPUT, TEXTAREA, SELECT, and other form-related elements, as shown in the following example.

<FORM ACTION="[URL]">
<TABLE BORDER="0">
<TR>
<TH>Student Roll No.</TH>
<TD><INPUT TYPE="text" NAME="RollNum"></TD>
</TR>
<TR>
<TH>S_Name:</TH>
<TD><INPUT TYPE="Text" NAME="S_Name"></TD>
</TR>
<TR>
<TD> </TD>
<TD><INPUT TYPE="submit" NAME="Submit"></TD>
</TR>
</TABLE>
</FORM>









Related Pages:
use tables to structure forms
use tables to structure forms  How can I use tables to structure forms
use tables to structure forms
use tables to structure forms  How can I use tables to structure forms
tables to structure forms
tables to structure forms  How can I use tables to structure forms
tables to structure forms
tables to structure forms  How can I use tables to structure forms
use forms.
use forms.  How do I use forms
mysqldump structure only
; Hi, You can use -d option with mysqldump command to take the structure only... to dumb only tables definitons , not the data ? use ?d command? if path is not set...mysqldump structure only  Hi, How to take dump of database structure
inteconnecting forms - JSP-Servlet
inteconnecting forms  hi, i have several tables in mysql database. i am creating some forms using jsp. i want to enter the name of the table and to get the table specified in the entry box to be displayed in the output
What are different normalization forms?
What are different normalization forms?  What are different normalization forms?   Hi, 1NF: Eliminate Repeating Groups- Make a separate... attributes, separate them out into distinct tables. 4NF: Isolate Independent
Describe the use of PL/SQL tables
Describe the use of PL/SQL tables  Describe the use of PL/SQL tables   Hi, PL/SQL tables are scalar arrays that can be referenced by a binary integer. They can be used to hold values for use in later queries
Basic Structure of Taj Mahal India
corners; it forms an unequal octagonal structure. On each long side...Basic Knowledge about the Structure of Taj Mahal Everyone who has love for this monument must want the basic knowledge about the structure of Taj Mahal
How to use Bean Area in Oracle Forms 9i with Sample code ?
How to use Bean Area in Oracle Forms 9i with Sample code ?  Hi friend.I posted a query,but I didn't get the answer for it.Help me to resolve including a bean area in oracle forms 9i and using it in forms.Thanks in advance.Help me
JSP WITH MULTIPLE FORMS
JSP WITH MULTIPLE FORMS       In  this example, you will learn how to make multiple forms in single jsp page. Most of the times people need to use multiple forms
PL/SQL tables
PL/SQL tables   hii, Describe the use of PL/SQL tables ?   hello, PL/SQL tables are scalar arrays that can be referenced by a binary integer. They can be used to hold values for use in later queries or calculations
SQL All Tables
and grasp the example we use query show tables that is used is show the tables... SQL All Tables       SQL All Tables is used to show all the tables in database. Understand
Mysql List Tables
Mysql List Tables       The Tutorial illustrate an example from 'Mysql  List Tables'. To understand this example we use show tables query that return the list of tables
table structure - Ajax
sec)   Use this code, no need to change, As per your database
Mysql List Tables
Mysql List Tables       The Tutorial illustrate an example from 'Mysql  List Tables'. To understand this example we use show tables query that return the list of tables
EJB directory structure
EJB directory structure       The tutorial is going to explain the standard directory structure of an EJB..., packaging, and delivering several files together. The use of  the JAR file
Tree Structure Catalogue Menu Display
Tree Structure Catalogue Menu Display  How best can I display a tree structure for a catalogue menu ? One option is to use an applet, but theres a 30000 node limit to the one im using. Is there any way other than an applet
Criteria with Multiple Tables - Hibernate
Criteria with Multiple Tables  I am using Hibernates Criteria. How to get Joins using Criteria? e.g. instead of below query i want to use criteria then How i can? select user from TeamsUserEntity
The JDK Directory Structure
Directory structure of JDK Welcome to Java tutorial series. In this lesson, you will learn about the directory structure of Java Development Kit, JDK. Since... structure. On your screen, you can see the directory structure of JDK as well as JRE
pdf tables
pdf tables       In this program we are going to tell you how we can make a table in a pdf... will help us to make and use pdf file in our program. Now create a file named tablePDF
Structure of Java Arrays
Structure of Java Arrays       Now lets study the structure of Arrays in java. Array is the most widely used data structure in java. It can contain multiple values of the same
PHP Alternative Control Structure
Alternative Control Structure: PHP provides alternative ways to use control... structure we can replace the opening brace with a colon(:) and the closing brace... coding within any control structure, the examples are given below: elseif
EJB directory structure
EJB directory structure       The tutorial is going to explain the standard directory structure of an EJB..., packaging, and delivering several files together. The use of  the JAR file
Collections (Data Structure Library)
Collections (Data Structure Library) Predefined Libraries Standard data-structure solutions. Similar to C++ Standard Template Library. Don't rewrite structures already available: linked lists, hash tables, expanding arrays
Creating Database Tables and Indexes
Creating Database Tables and Indexes   ... or byte with a value of 255. Use of identifier quote character is permitted... length is in bytes not in characters. But if you use multi-byte characters
Natural Join of tables using DBCP
tables. Below shown two tables and record stored in it. Salary Employee Directory structure of files: In the lib folder place all required jar
displaying data based on criteria from 2 tables having same type of data - Java Beginners
displaying data based on criteria from 2 tables having same type of data ... servlet. My mind was very confused then. I realise that I can't use a servlet... wrong. Some other forums told me to use Hibernate for my problem so I'm quite
Joins tables in jsp
. In this example we have two tables stu_info and stu_marks. Structure of these tables... Joins tables in jsp       When we want to select data from two or more tables
which data structure is good in java..? - Java Beginners
which data structure is good in java..?  Hi frends, Actually i want to store and retrieve some data using data structures like array list, stack... anyone give me good example how that best technique i can use in my programs
Create xsd files from database tables
. At the moment we write the xsd files representing a database table structure by hand... database tables
Data fetch from multiple SQL tables - Hibernate
that would use table classes to retrieve data from 8 or 9 tables. Any... multiple tables using left and right outer joins. I need to convert this JDBC data access code into Hibernate code. The tables in SQL are not related using foreign
Join tables in the specific database
_name and Emp_sal. We are making use of the emp_name to join the tables... Join tables in the specific database   ... and tables in a database. Now to retrieve a particular row from a table
Nest tables within tables
Nest tables within tables  Can I nest tables within tables
Natural Join / joining two tables
two tables according to common field and Create a new virtual field. We will use the following query- SELECT * FROM employee NATURAL JOIN emp_sal ... tables before join -- "employee" table "emp_sal" table
structure in JSP
structure in JSP  How do I achieve structure in JAVA or JSp
how can i hide and show tables
the code is included below i want to hide the tables initially and after i click go i want to display the tables with result.so any help is appreciated much <...;/html>   You can use javascript. Here is an example of simple jsp code
Two forms and One Servlet
Two forms and One Servlet  Dear Sir, I have 2 forms in one page and one submit button into second form which submits data to one servlet. If I do... get both forms textbox value. Thanks in advance
Natural Left Join of tables using DBCP
;} } Before running this program you need to make two tables. Below shown two tables and record stored in it. Salary Employee Directory structure of files: In the lib folder place all required jar files ie. commons
JAVA BEAN WITH ORACLE FORMS
JAVA BEAN WITH ORACLE FORMS  Hi..I am doing my final year Project.. I need the ste-by-step procedure to integrate a bean with oracle forms? Please help me
tables for layout
tables for layout  Are there any problems with using tables for layout
tables for layout
tables for layout  Are there any problems with using tables for layout
how to store array values into two different tables in java?
how to store array values into two different tables in java?  I have use 4/5 textboxes with same name(e.g.text1) and I get the values in a array and now I want to store these values in two different tables(i.e store 2 array
Array of structure
Array of structure  create employment details with necessary field using array of structure
structure example
structure example  in the example above what do you call the names student1,student2 and student3   Post the code
C Structure
C Structure  Respected sir, Can a structure in C contain a pointer to itself ? if yes means how sir ? plz help me sir
Data structure
Data structure: How to sort numbers in a queue using a bubble sort method?  How to sort numbers in a queue using a bubble sort method
CSV tables
CSV tables  hello, What are CSV tables?   hii, CSV Tables cannot be indexed.CSV Tables are the special tables, data for which is saved into comma-separated values files
inbox structure
inbox structure  I want to create an inbox for my project in which records are to be fetched dynamically. I am using netbeans (jsp + javascript+ servlet.) The structure is same like yahoo inbox (1st column full of check boxes