Amigos, estoy exportando una consulta a rtf, pero por mas q le pongo borde blanco a las celdas y tabvla me lo muestra plomo, como puedo evitar q se muestren estas divisiones.
Este es mi codigo:
Código PHP:
<? include("conexion.php");
if ($tipo==1){//registro de entradas
$sql="select distinct(actuaciones.contano),date_format(actuaciones.fecha,'%d-%m-%Y'),tarifas.detalle,actuaciones.recurrente,actuaciones.pasaporte,actuaciones.codtarifa,actuaciones.conttarifa,actuaciones.t1,actuaciones.t2,actuaciones.t5,actuaciones.t10,actuaciones.t20,actuaciones.t50,actuaciones.solesc,actuaciones.observaciones from actuaciones,tarifas where date_format(actuaciones.fecha,'%m')= '$mes' and date_format(actuaciones.fecha,'%Y')='$ano' and tarifas.codtarifa=actuaciones.codtarifa ";
}
$rs1=mysql_query($sql,$cnn);
header("Content-Description: File Transfer");
header("Content-Disposition: attachment; filename=$mes-$ano.rtf");
header("Content-Type: application/force-download");
?>
<!--<link href="estilo.css" rel="stylesheet" type="text/css">
-->
<style type="text/css">
<!--
.style2 {font-size: 12; }
.style5 {font-family: Arial, Helvetica, sans-serif; font-size: 10px; }
.style6 {font-size: 10px}
-->
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td colspan="4" class="textoTitu"><h6>de emisión del reporte del <? echo $mes."-".$ano;?> </h6></td>
<td width="5%"> </td>
<td width="3%"> </td>
<td width="2%"> </td>
<td width="2%"> </td>
<td width="2%"> </td>
<td width="2%"> </td>
<td width="2%"> </td>
<td width="2%"> </td>
<td width="3%"> </td>
<td width="4%"> </td>
<td width="4%"> </td>
<td width="4%"> </td>
<td width="7%"> </td>
</tr>
<tr>
<td colspan="17"><div align="center" class="textoTituPlomo">
<h5>SERVICIO CONSULAR DEL PERU<br>
R E G I S T R O G E N E R A L D E E N T R A D A S</h5>
</div></td>
</tr>
<tr>
<td colspan="17"><hr></td>
</tr>
<tr>
<td width="4%" height="30" class="style2"><div align="center" class="style2">
<pre>Nro Orden </pre>
</div></td>
<td width="8%" class="style2"><div align="center" class="style2">
<pre>Fecha</pre>
</div></td>
<td width="18%" class="style2"><div align="center" class="style2">
<pre>Naturaleza</pre>
</div></td>
<td width="28%" class="style2"><div align="center" class="style2">
<pre>Recurrente</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>Pasaporte</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>Tarifa</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>Acto</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>1</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>2</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>5</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>10</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>20</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>50</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>Soles Cons</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>TC</pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>Mons Ext. </pre>
</div></td>
<td class="style2"><div align="center" class="style2">
<pre>Observaciones</pre>
</div></td>
</tr>
<tr>
<td colspan="17"><hr></td>
</tr>
<? while ($row = mysql_fetch_row($rs1)){
?>
<tr>
<td><span class="style5"><? echo $row[0] ?></span></td>
<td><span class="style5">
<? echo $row[1] ?>
</span></td>
<td><span class="style5">
<? echo $row[2] ?>
</span></td>
<td><span class="style5">
<? echo $row[3] ?>
</span></td>
<td><span class="style5">
<? echo $row[4] ?>
</span></td>
<td><span class="style5">
<? echo $row[5] ?>
</span></td>
<td><span class="style5">
<? echo $row[6] ?>
</span></td>
<td><span class="style5">
<? echo $row[7] ?>
</span></td>
<td><span class="style5">
<? echo $row[8] ?>
</span></td>
<td><span class="style5">
<? echo $row[9] ?>
</span></td>
<td><span class="style5">
<? echo $row[10] ?>
</span></td>
<td><span class="style5">
<? echo $row[11] ?>
</span></td>
<td><span class="style5">
<? echo $row[12] ?>
</span></td>
<td><span class="style5">
<? echo $row[13] ?>
</span></td>
<td><span class="style6"></span></td>
<td><span class="style6"></span></td>
<td><span class="style6"></span></td>
</tr>
<? }
?>
</table>