Ver Mensaje Individual
  #8 (permalink)  
Antiguo 11/02/2002, 16:03
almaluz
 
Fecha de Ingreso: diciembre-2001
Mensajes: 262
Antigüedad: 23 años, 5 meses
Puntos: 0
Re: Ordenar una tabla correctamente..

Una copia exacta del que yo utilizo

<pre>
&lt;table width=&quot;625&quot; cellpadding=&quot;1&quot; cellspacing=&quot;3&quot;&gt;
&lt;tr&gt;
&lt;%
columna=0
Do While Not rs.Eof
columna=columna+1
%&gt;
&lt;td&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;% If trim(rs(&quot;foto1&quot;)) &lt;&gt;&quot;&quot; Then
%&gt;
&lt;img src=&quot;fotos/&lt;%= rs(&quot;foto1&quot;)%&gt;&quot; align=&quot;left&quot; &gt;
&lt;% End If
%&gt;
&lt;img src=&quot;imagenes/flecha.gif&quot;&gt; &lt;a href=ver.asp?id=&lt;%= rs(&quot;id&quot;)%&gt; class=&quot;menuL&quot;&gt;&lt;%= rs(&quot;titulo&quot;) %&gt;&lt;/a&gt;&lt;br&gt;
&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; class=&quot;txjustpq&quot;&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;% texto = rs(&quot;noticia&quot;)

texto = replace(texto, chr013),&quot;&lt;br&gt;&quot;)
texto = left(texto,150)
Response.Write texto &amp; &quot;...&quot;
%&gt;
&lt;a href=ver.asp?id=&lt;%= rs(&quot;id&quot;)%&gt; class=&quot;enlaceblanco&quot;&gt;+ info&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;hr width=&quot;75%&quot; align=&quot;center&quot;&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;%
If columna = 2 then
columna = 0
%&gt;
&lt;/td&gt;&lt;tr&gt;
&lt;%
End If
rs.MoveNext
loop
%&gt;
&lt;/table&gt;
&lt;%
rs.Close
Con.Close
set rs=Nothing
Set con= Nothing
%&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;


</pre>

Tiene mucho de tablas y demas pero esta bastante completo.

Espero que te sirva de ayuda.

Juan