Hola, tengo el siguiente problemita. Estoy haciendo una web y el margin-top no me funciona en IE. El css es el siguiente:
#header{
background-color:#999999;
border:#666666;
position:relative;
margin-top:10px;
height:100px;
}
Saludos!
| |||
margin top no funciona en IE Hola, tengo el siguiente problemita. Estoy haciendo una web y el margin-top no me funciona en IE. El css es el siguiente: #header{ background-color:#999999; border:#666666; position:relative; margin-top:10px; height:100px; } Saludos! |
| |||
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! |
Etiquetas: |