this is what i have at the moment and table shows on left hand side i would like it to be center also if i want diff coloured text how is that done cheers Doug echo "<table border='1'> <tr> <p align='center' class='bodytext'> <th>parkname</th> <p align='center' class='bodytext'> <th>parklocation</th> <p align='center' class='bodytext'> <th>caravandetails</th> </tr>";while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['parkname'] . "</td>"; echo "<td>" . $row['parklocation'] . "</td>"; echo "<td>" . $row['caravandetails'] . "</td>"; echo "</tr>"; } echo "</table>";mysql_close($con); PHP: