Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/10/2009, 16:44
Avatar de deirdre
deirdre
 
Fecha de Ingreso: mayo-2009
Mensajes: 690
Antigüedad: 14 años, 11 meses
Puntos: 45
Respuesta: Padding entre tablas?

No entiendo bien lo que haces ni lo que quieres hacer, porque en tu código tienes varios errores. Prueba esto:

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>Tabla + tabla</title>
<style type="text/css">
.tdbody {
	background-color: #202020;
	margin-top: 20px; /*cambia  padding por margin */
}
</style>
</head>

<body>
<table width="200px">
	<tr>
		<td>contenido</td> <!--aquí falta el cierre de td-->
	</tr>
</table> <!--aquí falta el cierre de table-->

<table class="tdbody" width=200px>
	<tr>
		<td>contenido</td> <!--aquí falta el cierre de td-->
	</tr>
</table> <!--aquí falta el cierre de table-->

</body>

</html> 
Si no es esto, pon tu código arreglado y pregunta lo que quieres obtener.

Bye