[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

table columns not aligning

Asked by dba123 in Active Server Pages (ASP)

I have 2 tables (within a container table that you don't see) in which the first column is not aligning when rendered to the screen.  The first column in the first table have a very small width.  The first column in the second table is much more wide.  Why is this?  they should both fall to the right.

      Response.Write("        <table width=""100%"" align=""center"" border=""1"" bordercolor=""#fff"" cellspacing=""2"" cellpadding=""0"">" & vbCrLf)
      Response.Write("            <tr>" & vbCrLf)
      Response.Write("                      <td align=""center"" valign=""top"" class=""mainbody"">" & vbCrLf)
      Response.Write("                     <form action=""register.asp?action=custentered"" method=""post"" name=""custform"" OnSubmit=""return CheckNewRequest1();"">" & vbCrLf)
      Response.Write("                        <input type=""hidden"" name=""write_customer"" value=""1"">" & vbCrLf)
      Response.Write("                        <table align=""center"" border=""1"" bordercolor=""#fff"" cellspacing=""0"" cellpadding=""0"">" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">First Name</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration"">" & Query("FName") & "</td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Last Name</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration"">" & Query("LName") & "</td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Gender</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration""><LABEL FOR=""phonetype"">  Male</label><input type=""radio"" name=""gender1"" value=""1"" class=""radio""><label for=""phonetype2"">Female</label><input type=""radio"" name=""gender2"" value=""1"" class=""radio""></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Address Line 1</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration""><input type=""text"" name=""add1"" size=""20"" maxlength=""20"" value=""" & Query("address1") & """></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Address Line 2</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration""><input type=""text"" name=""add2"" size=""20"" maxlength=""20"" value=""" & Query("address2") & """></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">City</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration""><input type=""text"" name=""city"" size=""15"" maxlength=""20"" value=""" & Query("city") & """></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">State or Province</td>" & vbCrLf)
      Response.Write("                                  <td align=""left""  valign=""top"" class=""registration""><select name=""state"" class=""registration"">" & vbCrLf)
                                                                                                            strSQL1 = "sp_Get_States"
                                                                                                            Set Query1 = objConnection.Execute(strSQL1)
                                                                                                            If Trim("" & Query("StateID")) = "" then
    Response.Write("                                                                                                <option value="""" selected >Select a State</option>"& vbCrLf)
                                                                                                          End If
                                                                                                            If NOT Query1.EOF Then
                                                                                                                  Do While NOT Query1.EOF
                                                                                                                        If Trim(Query1("StateID")) = Trim(Query("StateID")) Then
      Response.Write("                                                                                                <option value=""" & Query1("StateID") & """")
                                                                                                                              Response.Write (" selected >" & Query1("StateName") & "</option>" & vbCrLf)
                                                                                                                        Else
      Response.Write("                                                                                                <option value=""" & Query1("StateID") & """")
                                                                                                                              Response.Write (">" & Query1("StateName") & "</option>" & vbCrLf)
                                                                                                                      End If
                                                                                                  Query1.MoveNext
                                                                                                                  Loop
                                                                                                            Else
      Response.Write("                                                                                    <option value="""">Error -- No States Found</OPTION>" & vbCrLf)
                                                                                                            End If
                                                                                                            Query1.Close
                                                                                                            Set Query1=Nothing
      Response.Write("                                                     </select>" & vbCrLf)
      Response.Write("                                      &nbsp;&nbsp;Zip Code<input type=""text"" name=""zip"" size=""8"" maxlength=""20"" value=""" & Query("zip") & """></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Country</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration""><input type=""text"" name=""country"" size=""15"" maxlength=""20"" value=""" & Query("country") & """></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Primary Phone</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration"">(<input type=""text"" name=""phonearea"" size=""1"" maxlength=""3"" value=""" & Query("phonearea") & """>) - <input type=""text"" name=""phonepre"" size=""1"" maxlength=""3"" value=""" & Query("phoneprefix") & """> - <input type=""text"" name=""phonepre"" size=""1"" maxlength=""4"" value=""" & Query("phonesuffix") & """><LABEL FOR=""phonetype"">  Home</label><input type=""radio"" name=""phonetype1"" value=""1"" class=""radio""><label for=""phonetype2"">Cell</label><input type=""radio"" name=""phonetype2"" value=""1"" class=""radio""></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Email</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration""><input type=""text"" name=""email_pre"" size=""15"" maxlength=""20"" value=""" & Query("emailprefix") & """>@<input type=""text"" name=""email_suf"" size=""15"" maxlength=""20"" value=""" & Query("emailsuffix") & """></td>")
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                        </table>" & vbCrLf)
      Response.Write("                      </td>" & vbCrLf)
      Response.Write("            </tr>" & vbCrLf)
      Response.Write("         </table>" & vbCrLf)


      Response.Write("        <table width=""100%"" align=""center"" border=""1"" bordercolor=""#fff"" cellspacing=""2"" cellpadding=""0"">" & vbCrLf)
      Response.Write("            <tr>" & vbCrLf)
      Response.Write("                      <td align=""center"" valign=""top"" class=""mainbody"">" & vbCrLf)
      Response.Write("                        <table align=""center"" border=""1"" bordercolor=""#fff"" cellspacing=""0"" cellpadding=""0"">" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"" width=""25%"">User Name</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration"">" & Query("username") & "</td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Alias / Name</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration"">" & Query("alias") & "</td>" &vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Password</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration""><input type=""password"" name=""psswd"" size=""15"" maxlength=""15""></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Confirm Password</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration""><input type=""password"" name=""conf_psswd"" size=""15"" maxlength=""15""></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Industry</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration""></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">Primary Messaging Interface</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" valign=""top"" class=""registration"">" & vbCrLf)
      Response.Write("                                        <select name=""InstMessType"" size=""1"">" & vbCrLf)
      Response.Write("                                                <option value=""1"">AOL Messenger</option>" & vbCrLf)
      Response.Write("                                                <option value=""2"">ICQ</option>" & vbCrLf)
      Response.Write("                                                <option value=""3"">MSN Messenger</option>" & vbCrLf)
      Response.Write("                                                <option value=""4"">Yahoo Messenger</option>" & vbCrLf)
      Response.Write("                                      </select>" & vbCrLf)
      Response.Write("                               </td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                           <tr>" & vbCrLf)
      Response.Write("                                      <td align=""right"" valign=""top"" class=""registration"">&nbsp;</td>" & vbCrLf)
      Response.Write("                                      <td align=""left"" colspan=""3"" valign=""top""><br><input type=""submit"" name=""reg"" VALUE=""Update Profile"" class=""submitbutton"">" & vbCrLf)
      Response.Write("                                <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></td>" & vbCrLf)
      Response.Write("                           </tr>" & vbCrLf)
      Response.Write("                        </table>" & vbCrLf)
      Response.Write("                           </form>" & vbCrLf)
      Response.Write("                      </td>" & vbCrLf)
      Response.Write("            </tr>" & vbCrLf)
      Response.Write("         </table>" & vbCrLf)
[+][-]09/29/04 02:46 PM, ID: 12184809Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/29/04 02:50 PM, ID: 12184851Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/29/04 02:57 PM, ID: 12184903Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/29/04 02:58 PM, ID: 12184912Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/29/04 03:10 PM, ID: 12185031Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/29/04 03:26 PM, ID: 12185166Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/29/04 03:33 PM, ID: 12185221Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/29/04 03:38 PM, ID: 12185248Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Active Server Pages (ASP)
Sign Up Now!
Solution Provided By: Thogek
Participating Experts: 2
Solution Grade: A
 
[+][-]09/29/04 03:46 PM, ID: 12185313Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/29/04 03:47 PM, ID: 12185322Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/29/04 03:47 PM, ID: 12185324Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/29/04 07:20 PM, ID: 12186406Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/29/04 09:33 PM, ID: 12186938Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/30/04 08:31 AM, ID: 12191003Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/30/04 10:15 AM, ID: 12192171Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89