Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/11/2007, 04:14
Pasape
 
Fecha de Ingreso: noviembre-2007
Ubicación: San Juan de Alicante
Mensajes: 78
Antigüedad: 16 años, 5 meses
Puntos: 7
Re: Problemas con Firefox y IE

Gracias DragonX por tus correcciones.
Lo de z-index=2 a todos mis divs, no está motivado por algo en especial, tampoco creo que afecte en algo al resultado no?
Con esta página, tengo el problema que me aparece la barra lateral, sólo en IE, y que me bloquea un contenido activo, la botonera, sólo en IE.
Otra pregunta, ¿el código basura, código que está de más, afecta a algo al funcionamiento de la web? ralentiza la web?
Te pongo otra vez el código, para ver si lo puedes ver:
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=utf-8" />
<title>grupo ànec</title>
<script type="text/javascript">
<!--
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_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_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>
<style type="text/css">

<!--

#contenedor {
    margin: 0 auto;
    width: 800px;
    height: 500px;
    z-index:2;
}
#botonera{
    position:relative;
    left:0px;
    top:340px;
    width:185px;
    height:129px;
    z-index:2;
}
#logo {
    position:relative;
    left:200px;
    top:-120px;
    width:466px;
    height:324px;
    z-index:2;
}
-->
td img {display: block;}
</style>
<script language="JavaScript1.2" type="text/javascript" src="mm_css_menu.js"></script>
</head>

<body onload="MM_preloadImages('botonera_inicio_r2_c2_f2.jpg','botonera_inicio_r4_c2_f2.jpg','botonera_inicio_r6_c1_f2.jpg','botonera_inicio_r8_c2_f2.jpg','botonera_inicio_r10_c2_f2.jpg')">

<div id="contenedor">
<div id="botonera">
  <table border="0" cellpadding="0" cellspacing="0" width="179">
    <!-- fwtable fwsrc="botonera_inicio.png" fwpage="Página 1" fwbase="botonera_inicio.jpg" fwstyle="Dreamweaver" fwdocid = "76737643" fwnested="0" -->
    <tr>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="7" height="1" border="0" id="undefined_2" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="35" height="1" border="0" id="undefined_2" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="10" height="1" border="0" id="undefined_2" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="36" height="1" border="0" id="undefined_2" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="91" height="1" border="0" id="undefined_2" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="1" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td colspan="5"><img name="botonera_inicio_r1_c1" src="botonera_inicio_r1_c1.jpg" width="179" height="8" border="0" id="botonera_inicio_r1_c1" alt="" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="8" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td rowspan="4"><img name="botonera_inicio_r2_c1" src="botonera_inicio_r2_c1.jpg" width="7" height="61" border="0" id="botonera_inicio_r2_c1" alt="" /></td>
      <td colspan="3"><a href="conjunto_anec.html" target="_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('botonera_inicio_r2_c2','','botonera_inicio_r2_c2_f2.jpg',1);"><img name="botonera_inicio_r2_c2" src="botonera_inicio_r2_c2.jpg" width="81" height="13" border="0" id="botonera_inicio_r2_c2" alt="" /></a></td>
      <td rowspan="6"><img name="botonera_inicio_r2_c5" src="botonera_inicio_r2_c5.jpg" width="91" height="90" border="0" id="botonera_inicio_r2_c5" alt="" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="13" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td colspan="3"><img name="botonera_inicio_r3_c2" src="botonera_inicio_r3_c2.jpg" width="81" height="17" border="0" id="botonera_inicio_r3_c2" alt="" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="17" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td><a href="conjunto_areas.html" target="_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('botonera_inicio_r4_c2','','botonera_inicio_r4_c2_f2.jpg',1);"><img name="botonera_inicio_r4_c2" src="botonera_inicio_r4_c2.jpg" width="35" height="18" border="0" id="botonera_inicio_r4_c2" alt="" /></a></td>
      <td rowspan="2" colspan="2"><img name="botonera_inicio_r4_c3" src="botonera_inicio_r4_c3.jpg" width="46" height="31" border="0" id="botonera_inicio_r4_c3" alt="" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="18" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td><img name="botonera_inicio_r5_c2" src="botonera_inicio_r5_c2.jpg" width="35" height="13" border="0" id="botonera_inicio_r5_c2" alt="" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="13" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td colspan="4"><a href="conjunto_clientes.html" target="_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('botonera_inicio_r6_c1','','botonera_inicio_r6_c1_f2.jpg',1);"><img name="botonera_inicio_r6_c1" src="botonera_inicio_r6_c1.jpg" width="88" height="17" border="0" id="botonera_inicio_r6_c1" alt="" /></a></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="17" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td colspan="4"><img name="botonera_inicio_r7_c1" src="botonera_inicio_r7_c1.jpg" width="88" height="12" border="0" id="botonera_inicio_r7_c1" alt="" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="12" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td rowspan="4"><img name="botonera_inicio_r8_c1" src="botonera_inicio_r8_c1.jpg" width="7" height="54" border="0" id="botonera_inicio_r8_c1" alt="" /></td>
      <td colspan="4"><a href="conjunto_centros.html" target="_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('botonera_inicio_r8_c2','','botonera_inicio_r8_c2_f2.jpg',1);"><img name="botonera_inicio_r8_c2" src="botonera_inicio_r8_c2.jpg" width="172" height="12" border="0" id="botonera_inicio_r8_c2" alt="" /></a></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="12" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td colspan="4"><img name="botonera_inicio_r9_c2" src="botonera_inicio_r9_c2.jpg" width="172" height="18" border="0" id="botonera_inicio_r9_c2" alt="" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="18" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td colspan="2"><a href="conjunto_contacto.html" target="_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('botonera_inicio_r10_c2','','botonera_inicio_r10_c2_f2.jpg',1);"><img name="botonera_inicio_r10_c2" src="botonera_inicio_r10_c2.jpg" width="45" height="14" border="0" id="botonera_inicio_r10_c2" alt="" /></a></td>
      <td rowspan="2" colspan="2"><img name="botonera_inicio_r10_c4" src="botonera_inicio_r10_c4.jpg" width="127" height="24" border="0" id="botonera_inicio_r10_c4" alt="" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="14" border="0" id="undefined_2" /></td>
    </tr>
    <tr>
      <td colspan="2"><img name="botonera_inicio_r11_c2" src="botonera_inicio_r11_c2.jpg" width="45" height="10" border="0" id="botonera_inicio_r11_c2" alt="" /></td>
      <td><img src="spacer.gif" alt="" name="undefined_2" width="1" height="10" border="0" id="undefined_2" /></td>
    </tr>
  </table>
</div>
<div id="logo"><img src="imágenes/logo_2008.jpg" width="534" height="520" /></div>
</div>
</body>
</html>
Gracias y un saludo

Última edición por Pasape; 22/11/2007 a las 05:34 Razón: error