Por alguna razón en un código como el siguiente, no me permite poner la tabla correctamente alineada en el lado derecho de la
pàgina horizontal ni me permite hacer la tabla más grande
de 15 filas aunque aún quede la mitad de la pagina de espacio. Alguien puede ayudarme por favor?Conoceis alguna mejor de poder dar la vuelta a una tabla y controlar donde va a salir?
<HTML><HEAD>
<style type="text/css" media="print">
div.breakbefore {page-break-before:always}
div.page{
writing-mode: tb-rl;
height: 80%;
margin: 10% 0%;
}
div.page table {
margin-right: 350pt;
filter: progid:DXImageTransform.Microsoft.BasicImage(Rotat ion=1);
}
</style>
<BODY>
<div class='page'>
<h3>...and the last page should be back to portrait</h3>
<table cellspacing="2">
<td align=center width="80px">Número de Factura</td>
<td align=center width='80px'>Fecha de Factura</td>
<td align=center width='80px' >Vencimiento</td>
<td align=center width='80px' >Num Albarán</td>
<td align=center width='80px'>NIF</td>
<td align=center width='80px'>Expediente</td>
<td align=center width='50px'>Secuencial</td>
<td align=center width='80px'>Importe servicio</td>
<td align=center width='80px'>Importe horas espera</td>
<td align=center width='80px'>Otros cargos</td>
<td align=center width='80px'>Tipo servicio</td>
<td align=center width='60px'>Kms</td>
<td align=center width='50px'>F/N</td>
</tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2181923</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>25,87</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GCI</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2184240</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>36,22</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GCI</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2185420</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>44,92</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GCO</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2187745</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>32,76</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GAU</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2188023</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>32,76</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GAU</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2188472</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>32,76</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GAU</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2195925</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>60,52</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GAU</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2196935</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>36,22</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GCI</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2200444</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>25,87</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GCI</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2201009</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>42,59</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GAU</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2209268</td>
<td align=center width='50px'>3</td>
<td align=center width='90px'>71,02</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GCO</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2209405</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>36,22</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GCI</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2210719</td>
<td align=center width='50px'>4</td>
<td align=center width='90px'>90,48</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GAU</td>
<td align=center width='60px'>104.0</td>
<td align=center width='50px'>Sí</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2213029</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>36,22</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GCI</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
<tr><td align=center width='90px'>R/17</td>
<td align=center width='90px'>06/04/2004</td>
<td align=center width='90>px'>25/05/2004</td>
<td align=center width='90px'></td>
<td align=center width='90px'>365145456D</td>
<td align=center width='90px'>X2213191</td>
<td align=center width='50px'>1</td>
<td align=center width='90px'>32,76</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>0,00</td>
<td align=center width='90px'>GAU</td>
<td align=center width='60px'>0.0</td>
<td align=center width='50px'>No</td></tr>
</table>
</div>
</BODY></HTML>