Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/02/2010, 07:36
Avatar de maycolalvarez
maycolalvarez
Colaborador
 
Fecha de Ingreso: julio-2008
Ubicación: Caracas
Mensajes: 12.120
Antigüedad: 15 años, 8 meses
Puntos: 1532
Respuesta: Cómo centro un div contenedor en ie???

que version de IE tienes porque con margin:0px auto; basta y sobra ¿?

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <style type="text/css">
  3. #capa{
  4.     margin:0px auto;
  5.     height:200px;
  6.     width:100px;
  7.     background:blue;
  8. }
  9. </head>
  10.     <div id="capa">hola</div>
  11. </body>
  12. </html>