Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/07/2010, 09:49
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: Tablas juntas

Kristhoff:
Si, se puede, aqui tienes una forma


Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dos tablas alineadas</title>
<style type="text/css">
<!--
div#tabla_uno{
width:300px;
position:relative;
float: left;
height: auto;
margin-right: 10px;
}
div#tabla_dos{
width:300px;
position:relative;
float: left;
height: auto;
}
-->
</style>
</head>
<body>
<div id="tabla_uno">
<table width="300" border="1" cellspacing="1" cellpadding="1">
  <tr>
    <th scope="col">z</th>
    <th scope="col">z</th>
    <th scope="col">z</th>
  </tr>
  <tr>
    <td><div align="center">z</div></td>
    <td><div align="center">z</div></td>
    <td><div align="center">z</div></td>
  </tr>
</table>
</div>
<div id="tabla_dos">
<table width="300" border="1" cellspacing="1" cellpadding="1">
  <tr>
    <th scope="col">z</th>
    <th scope="col">z</th>
    <th scope="col">z</th>
  </tr>
  <tr>
    <td><div align="center">z</div></td>
    <td><div align="center">z</div></td>
    <td><div align="center">z</div></td>
  </tr>
</table>
</div>
</body>
</html>


Saludos