Ver Mensaje Individual
  #6 (permalink)  
Antiguo 12/10/2012, 18:02
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: juntar bordes en tablas (td) ?

Podés hacer algo así

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>titulo</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6.  
  7.  
  8. <style type="text/css">
  9. /*<![CDATA[*/
  10. table {
  11. border-collapse: separate;
  12. border-spacing: 0px 5px;
  13. background: blue;
  14. border-left: 3px solid blue;
  15. border-right: 3px solid blue;
  16. }
  17.  
  18. td{
  19. border-top: 2px solid #000;
  20. border-bottom: 2px solid #000;
  21. background: cyan;
  22. }
  23. /*]]>*/
  24. </head>
  25.     <p>tabla 1</p>
  26. <table cellspacing="0" cellpadding="6" id="uno">
  27.  
  28.         <tr class="fila">
  29.             <td colspan="1" align="center" valign="top" width="1">texto</td>
  30.             <td colspan="1" valign="top">texto</td>
  31.             <td width="85" valign="top" align="center">texto</td>
  32.             <td width="200" valign="top" align="right"><div style="text-align: center;">texto</div></td>
  33.         </tr>
  34.         <tr class="fila">
  35.             <td colspan="1" align="center" valign="top" width="1">texto</td>
  36.             <td colspan="1" valign="top">texto</td>
  37.             <td width="85" valign="top" align="center">texto</td>
  38.             <td width="200" valign="top" align="right"><div style="text-align: center;">texto</div></td>
  39.         </tr>
  40.  
  41. </body>
  42. </html>

faltaría que le des un borde izquierdo a la primer celda de cada fila y un derecho a la última

SAludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.