Ovviamente devi intabellarli... per esempio:
codice:
				tempoutput += "<tr><td>" + pages[i].dati1 + "</td>";
				tempoutput += "<td>"+pages[i].dati2 + "</td>";
				tempoutput += "<td>"+pages[i].dati3 + "</td>";
				tempoutput += "<td>"+pages[i].dati4 + "</td>";
				tempoutput += "<td>"+pages[i].dati5 + "</td></tr>";
Ricordati di racchiudere i risultati fra <table> e </table>

... l'aspetto ti conviene gestirlo tramite CSS