Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/12/2010, 08:07
sebacomas
 
Fecha de Ingreso: mayo-2010
Mensajes: 414
Antigüedad: 13 años, 11 meses
Puntos: 2
Respuesta: margin top no funciona en IE

Aca te dejo el código, lo unico que quiero saber es porque no me funciona el margin top.

<!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">

<head>
<style type="text/css">
#container {
background-color:#CCCCCC;
width:750px;
position:relative;
margin:auto;
height:400px;

}
#header{
background-color:#999999;
border:#666666;
position:relative;
margin:10px;
height:100px;
}
#menuebox{
background-color:#999999;
border-color:#666666;
float:left;
width:200 px;
height:200 px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<div id="container">
<div id="header">sdfffds
</div>
<div id="menuebox">
</div>
<div id="textbox">
</div>
<div id="footer">
</div>
</div>

</body>


Saludos!