title: how to solve this html table align left
body: <p>this is how i set values for the html table:</p>
  
  <pre><code>&lt;table  width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f9fae3" align="center" &gt;
                                                  &lt;tr class='lightrow'&gt;
                                                    &lt;td width="12%" class="title_sub" align="center" &gt;S.No&lt;/td&gt;
                                                    &lt;td width="12%" class="title_sub" align="left"&gt;EmployeeID&lt;/td&gt;
                                                    &lt;td width="32%" class="title_sub" align="left"&gt;Name&lt;/td&gt;
                                                    &lt;td width="20%" class="title_sub" align="left"&gt;Cardnumber&lt;/td&gt;
                                                    &lt;td width="12%" class="title_sub" align="left"&gt;Issued&lt;/td&gt;
                                                    &lt;td width="12%" class="title_sub" align="left"&gt;Status&lt;/td&gt;
                                                  &lt;/tr&gt;
                                              &lt;/table&gt;
                                              &lt;%
                                              TempcardViewModel temporaycardDetails=null;
                                               String classname = "darkrow", noresults = "No Records Found ", space = "&amp;nbsp;";
                                               int sno = 1,htmltablestatus = 0;
                                               String[] colorArray = {"lightrow","darkrow"};
                                               if(tempcardList.size() &gt;0){
                                                   htmltablestatus = 1;
                                                   int i =0;
                                                   for (int iterator=0; iterator &lt; tempcardList.size(); iterator++)
                                                      {
                                                       if(i == 0)  i = 1;
                                                          else i = 0;
                                                          classname = colorArray[i];
                                                          temporaycardDetails=(TempcardViewModel)tempcardList.get(iterator);
                                              %&gt;
                                              &lt;table  width='100%' align='center' border='0' cellpadding='0' cellspacing='0'&gt;
                                                  &lt;tr class='&lt;%=classname%&gt;'&gt;
                                                      &lt;td width="12%" align="center" &gt;&lt;%=sno%&gt;&lt;/td&gt;
                                                      &lt;td width="12%" align="left"&gt;&lt;%=temporaycardDetails.getEmpid()%&gt;&lt;/td&gt;
                                                      &lt;td width="32%" align="left"&gt;&lt;%=temporaycardDetails.getEmpname()%&gt;&lt;/td&gt;
                                                      &lt;td width="20%" align="left"&gt;&lt;%=temporaycardDetails.getTempcardnumber()%&gt;&lt;/td&gt;
                                                      &lt;td width="12%" align="left"&gt;&lt;%=temporaycardDetails.getIssuedate()%&gt;&lt;/td&gt;
                                                      &lt;td width="12%" align="left"&gt;&lt;%=temporaycardDetails.getTempcardstatus()%&gt;&lt;/td&gt;
                                                  &lt;/tr&gt;
                                              &lt;tr&gt;
                                                  &lt;td colspan="6"&gt;&amp;nbsp;&lt;/td&gt;
                                              &lt;/tr&gt;
                                             &lt;% sno++;}//end of for loop 
                                               } // end of if loop
                                             %&gt;
                                             &lt;/table&gt;
                                                      &lt;table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFF0"&gt;
                                                          &lt;tr &gt;
                                                          &lt;% if(currentPage != 1){
                                                              currentPage=currentPage - 1;
                                                          %&gt;
                                                                  &lt;td align="left" &gt;&lt;a href="#" onclick="gotoPage('&lt;%=currentPage%&gt;')"&gt;Previous&lt;/a&gt;&lt;/td&gt;
                                                             &lt;%}
                                                          for(int i=1;i&lt;=noOfPages;i++){
                                                              if(currentPage==i){
                                                          %&gt;
                                                              &lt;td&gt;${i}&lt;/td&gt;&lt;% } else {%&gt;
                                                                      &lt;td align="left" &gt;&lt;a href="#" onclick="gotoPage('&lt;%=i%&gt;')"&gt;&lt;%=i%&gt;&lt;/a&gt;&lt;/td&gt;
                                                                  &lt;% }%&gt;
                                                          &lt;%} %&gt;
                                                          &lt;% if(currentPage &lt; noOfPages){
                                                              currentPage=currentPage + 1;
                                                          %&gt;
                                                                  &lt;td align="left" &gt;&lt;a href="#" onclick="gotoPage('&lt;%=currentPage%&gt;')"&gt;Next&lt;/a&gt;&lt;/td&gt;
                                                             &lt;%}%&gt;
                                                          &lt;/tr&gt;
                                                      &lt;/table&gt;
  </code></pre>
  
  <p>i have done this for paging in jsp page. but it gives me the result the problem i face is the number are displayed  like follwoing : <code>1      2         3       4      5      6  Next</code>(Large space is there between each number)</p>
  
  <p>but i want them to be displayed like <code>1 2 3 4 5 6 7 next</code></p>
  
  <p>thanks and regards</p>