Pues cierra tu php para que comiences a escribir html
Código PHP:
<HTML>
<HEAD>
<TITLE>lectura.php</TITLE>
</HEAD>
<BODY>
<h1><div align="center">Lectura de la tabla</div></h1>
<br>
<br>
<?
//Conexion con la base
mysql_connect("localhost","root","offshore");
//selección de la base de datos con la que vamos a trabajar
mysql_select_db("rastreos");
//Ejecutamos la sentencia SQL
$result=mysql_query("select * from rastreos");
?>
<?
//Mostramos los registros
while ($row=mysql_fetch_array($result))
{
?>
<div id="content">
<div id="Layer2" style="position:absolute; width:682px; height:300px; z-index:43; left: 242px; top: 286px;">
<table width="100%" border="0">
<tr class="celda03">
<td width="45%">No. guia </td>
<td width="55%"><?=$row["factura_id"]?></td>
</tr>
.
.
.
.
.
.
.
.
<tr class="celda03">
<td height="30"> </td>
<td> </td>
</tr>
<?php
mysql_free_result($result)
}
?>
</table>
</div>
</BODY>
</HTML>