Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/05/2007, 15:50
Avatar de asinox
asinox
 
Fecha de Ingreso: enero-2002
Ubicación: Santo Domingo
Mensajes: 2.712
Antigüedad: 22 años, 3 meses
Puntos: 6
Re: anidar 2 estilos de tablas

Anida los elementos, me explico table tr td table{
}

Código PHP:

<html>
<
head>
<
title>probando celdas con link invisible</title>
<
style type="text/css">

table{
    
width:400px;
    
height:400px;
    
border:1px solid #000;

}
table tr td{
    
width:400px;
    
height:400px;
        
background-color:#EEEEEE;
}
table tr td table{
    
background-color:red;
        
width:200px;
        
height:200px;
}
table tr td table tr td{
    
background-color:red;
        
border:3px dotted #000;
        
width:200px;
        
height:200px;
}
</
style>
</
head>
<
body>

<
table>
<
tr>
<
td><table>
<
tr>
<
td>Interna</td>
</
tr>
</
table></td>
</
tr>
</
table>


</
body>
</
html
__________________
www.dataautos.com

Última edición por asinox; 15/05/2007 a las 15:52 Razón: cambie el border de la tabla interna