Ver Mensaje Individual
  #4 (permalink)  
Antiguo 22/09/2008, 16:07
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: No se ve el fondo de un div en IE

Tu doctype está bien. Se tiene que deber a otra parte de tu css, porque con sólo la que muestras, la tabla tiene el fondo gris. Pega en un html sólo el html y el css que has puesto y lo verás.

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<style type="text/css">
#ppal2{
background-color:#CCCCCC;
width:890px;
padding:0px;
border:0px;
margin:5px;
}
</style>
</head>
<body>
<div id="ppal2">
<table class="formato_tb">
<tr><td></td></tr>
</table>
</div>
</body>
</html>
__________________
Visita mi nueva web idplus.org