html - Table...aligning cells and input boxes -


I type & lt; Form & gt; I am creating 1 out of 3 nested tables within the tag. I put the input field to create a text box on the right side of the text All this is my only problem that the following cells are: "First name, last name, address, city, state, zip code, and county" are not directly subject to one another, such as keeping the cells together and combining text boxes I How do I align the section? I hope I am explaining this well if you do not ask for further explanation. Any help on this small problem would be greatly appreciated.

So far my code is, so you can see what I did:

   & Lt; Width of table = "500" range = "0" & ​​gt; & Lt; TR & gt; & Lt; Td align = "center" & gt; & Lt; A href = "about.htm" & gt; About us & lt; / A & gt; & Lt; / Td> & Lt; Td align = "center" & gt; & Lt; A href = "mailto: cookiemaster@example.com" & gt; Contact us & lt; / A & gt; & Lt; / Td> & Lt; Td align = "center" & gt; & Lt; A href = "orderform.htm" & gt; Place order & lt; / A & gt; & Lt; / Td> & Lt; Td align = "center" & gt; & Lt; A href = "recipe.htm" & gt; Sample method & lt; / A & gt; & Lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt; & Lt; Form name = "web order form" id = "web order form" & gt; & Lt; Table border = "0" cellpadding = "2" width = "65%" & gt; & Lt; TR & gt; & Lt; Td> Personal information & lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td> First name: & lt; Input name = "fname" id = "fname" size = "30" type = "text" /> & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td> Last name: & lt; Input name = "lname" id = "lname" size = "30" type = "text" /> & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td> Address: & lt; Input name = "address" id = "address" size = "30" type = "text" /> & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td> City: & lt; Input name = "city" id = "city" size = "35" type = "article" /> & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td> State: & lt; Input name = "state" id = "state" size = "3" type = "text" /> & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td> ZIP code: & lt; Input name = "zip" id = "zip" size = "10" type = "text" /> & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td> Country: & lt; Input name = "country" id = "country" size = "10" type = "article" /> & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Form & gt;  

Just put an input box in another cell like this:

< Pre> & lt; TR & gt; & Lt; Td> First name: & lt; / Td> & Lt; Td> & Lt; Input name = "fname" id = "fname" size = "30" type = "text" /> gt; & Lt; / Td> & Lt; / TR & gt;

If you create all your rows in such a way, the labels and input boxes will stand up.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -