Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/06/2009, 08:26
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: Problemas con DIVS e IE

Una vez más, debe ser cosa de tu DOCTYPE. Mira tu código con un doctype adecuado, y verás que el problema de la imagen que muestras no ocurre:
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="es" lang="es-es">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
#center {
color: #fff;
width: auto;
text-align: center;
margin: 20px 60px 20px 60px;
padding: 15px;
}
#content_top_left {
background: #ff0000 url(corner_tl.png) top left no-repeat;
float: left;
width: 50%;
height: 50px;
}
#content_top_right {
background: #0000ff url(corner_tr.png) top right no-repeat;
float: right;
width: 50%;
height: 50px;
}
#content {
background-color: #fdfdfd;
padding: 15px;
color: #000000;
}
#content_bottom_left {
background: #0000ff url(corner_bl.png) top left no-repeat;
float: left;
width: 50%;
height: 50px;
}
#content_bottom_right {
background: #ff0000 url(corner_br.png) top left no-repeat;
float: right;
width: 50%;
height: 50px;
}
</style>
</head>
<body>
<div id='center'>
<div id='content_top_left'></div>
<div id='content_top_right'></div>
<div id='content'>
<div id='navegacion'>Opciones de navegación</div>
</div>
<div id='content_bottom_left'></div>
<div id='content_bottom_right'></div>
</div>
</body>
</html>
__________________
Visita mi nueva web idplus.org