Este codigo lo probe y me esta mostrando los datos respetando el formato que manejas:
Código PHP:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
</head>
<body>
<?php
include("conex.php");
$link=Conectarse();
$result = mysql_query("select apellido,nombre,cedula,codigo from estudiante", $link);
?>
<!-- Aqui el resultado de la consulta -->
<table border="1">
<?php
while($row = mysql_fetch_array($result))
{
?>
<tr>
<td>Apellido</td>
<td>: </td>
<td> <? echo $row["apellido"]; ?> </td>
<td>Nombre</td>
<td>: </td>
<td> <? echo $row["nombre"]; ?> </td>
</tr>
<tr>
<td>Cedula</td>
<td>: </td>
<td> <? echo $row["cedula"]; ?> </td>
<td>Codigo</td>
<td>: </td>
<td> <? echo $row["codigo"]; ?> </td>
</tr>
<?php
}
mysql_free_result($result);
mysql_close($link);
?>
</table>
</body>
</html>