Im making a page (for IE) where is shows some values in a table format. But somehow there’s some kind of whitespace before the first column making it uneven with the following columns.
i just want the columns to be aligned
http://i49.tinypic.com/14b3kuh.jpg
out.println("<div id='tablePos'>");
out.println("<ul class='ulStyle'>");
out.println("<li>");
out.println("<table border='1'>");
out.println("<div id='divTableForms'>");
out.println("<tr id='process'><td>PROCESS</td></tr>");
while(rs.next()){
String process = rs.getString(2);
String processtype = rs.getString(1);
out.println("<tr id='process'><td id='process2'>"+processtype + "-" +process+"</td></tr>");
}
out.println("<tr id='process'><td id='process2'></td></tr>");
out.println("</div>");
out.println("</table>");
out.println("</li>");
First of all,I think its because of ur divTableForms div… And second, u have used out.println(“< tr id=’process’>< td id=’process2’>< /td>< /tr>”);
But i dont get for wat u have included it…. Abd finally never use the same id for multiple tag… Particularly inside loop never use it..