Foros del Web » Creando para Internet » CSS »

problema con div en ie

Estas en el tema de problema con div en ie en el foro de CSS en Foros del Web. hola, he hecho este sitio www.t i e n d a e u .cl en firefox se ve bien, y tal como fue hecho. el ...
  #1 (permalink)  
Antiguo 04/08/2007, 16:17
 
Fecha de Ingreso: abril-2007
Mensajes: 18
Antigüedad: 17 años
Puntos: 1
problema con div en ie

hola, he hecho este sitio

www.t i e n d a e u .cl

en firefox se ve bien, y tal como fue hecho. el problema grande me lo da explorer.

tuve que cambiar el menu y sacarle el css que tenia, y reemplazarlo por tablas..

el asunto es que el contenedor del centro, es una div, a la cual le di la condicion de que siempre se muestre centrada..

todo bien, pero en explorer, la div imposibilita el uso del menu desde que sale "tendencia" hacia abajo..

por favor, alguien puede ayudarme?

aqui dejo el codigo:
Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>sport fashion design</title>
<link href="prueba.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="ajax.js"></script>

<script defer type="text/javascript" src="png.js"></script>

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(im/fondoenchico.jpg);
	background-repeat: repeat;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>


</head>



<body>

<body onload="MM_preloadImages('im/12.jpg','im/22.jpg','im/32.jpg','im/42.jpg','im/52.jpg','im/62.jpg','im/log2.jpg')">

<table width="120" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="53"><a href="home.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','im/log2.jpg',1)"><img src="im/11.jpg" name="Image7" width="120" height="53" border="0" id="Image7" /></a></td>
  </tr>
  <tr>
    <td height="25"><a href="javascript:ajaxpage('quiens.html','container');" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','im/12.jpg',1)"><img src="im/21.jpg" name="Image1" width="120" height="25" border="0" id="Image1" /></a></td>
  </tr>
  <tr>
    <td height="25"><a href="javascript:ajaxpage('coleccion.html','container');" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','im/22.jpg',1)"><img src="im/31.jpg" name="Image2" width="120" height="25" border="0" id="Image2" /></a></td>
  </tr>
  <tr>
    <td height="25"><a href="javascript:ajaxpage('tendencia.html','container');" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','im/32.jpg',1)"><img src="im/41.jpg" name="Image3" width="120" height="25" border="0" id="Image3" /></a></td>
  </tr>
  <tr>
    <td height="25"><a href="javascript:ajaxpage('prensa.html','container');" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','im/42.jpg',1)"><img src="im/51.jpg" name="Image4" width="120" height="25" border="0" id="Image4" /></a></td>
  </tr>
  <tr>
    <td height="25"><a href="javascript:ajaxpage('lin.html','container');" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','im/52.jpg',1)"><img src="im/61.jpg" name="Image5" width="120" height="25" border="0" id="Image5" /></a></td>
  </tr>
  <tr>
    <td height="25"><a href="javascript:ajaxpage('contact.html','container');" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','im/62.jpg',1)"><img src="im/71.jpg" name="Image6" width="120" height="25" border="0" id="Image6" /></a></td>
  </tr>
</table>

<table width="439" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="18">&nbsp;</td>
  </tr>

<table width="639" border="0" cellspacing="0" cellpadding="0">
  <div id="container">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="639" height="430">
      <param name="movie" value="intro.swf" />
      <param name="quality" value="high" />
      <embed src="intro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="639" height="430"></embed>
    </object>
  </div>

</div>
</body>
</html>

y el css

/* CSS Document */

Código:
#container {
	
	width:639px;
	height:430px;
	background:#333333;
	
	margin:-100px auto 0px;

 }

Muchas gracias desde ya!!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:55.