Sobrok | Bonjour,
Je viens vous solliciter car je rencontre un problème dans la programmation de mon site web. J'ai bien sur consulté les postes parlant du même problèmes que je rencontre sans pour autant trouver une réponse.
En effet, le problème à l'air souvent rencontré mais traité de façon différents à chaque fois.
Je vais maintenant aborder mon problème qui se divise en deux parties :
Dans les 2 cas ci-dessous le site fonctionne correctement sous Firefox mais pas sous IE.
- les photos de mon site ne s'affiche pas sous IE, on peut le constater via le fond du site.
- mon menu déroulant en javascript qui ne se déroule pas sous IE
Il s'agit de mon premier site et ce problème rencontré est vraiment le seul que je n'ai su résoudre.
Je vous copie une partie du code.
Merci d'avance pour l'aide que vous pourrez m'apporter.
Code :
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html><head>
- <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
- <!-- InstanceBeginEditable name="doctitle" -->
- <title>Accueil - AB Prévention</title>
- <meta name="copyright" content="AB Prévention" lang="fr">
- <meta name="ROBOTS" content="index, follow">
- <!-- InstanceEndEditable -->
- <link href="Formation/style.css" rel="stylesheet" type="text/css">
- <script language="JavaScript" src="Formation/menu.js"></script>
- <script language="JavaScript" src="Formation/mm_menu.js"></script>
- <script language="JavaScript" type="text/JavaScript">
- <!--
- function MM_reloadPage(init) { //reloads the window if Nav4 resized
- if (init==true) with (navigator) {if ((appName=="Netscape" )&&(parseInt(appVersion)==4)) {
- document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
- else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
- }
- MM_reloadPage(true);
- 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>
- <!-- InstanceBeginEditable name="head" -->
- <style type="text/css">
- <!--
- .Style1 {font-size: 14px}
- .Style37 {color: #FFFFFF}
- .Style38 {font-size: 14px; font-family: Geneva, Arial, Helvetica, sans-serif; }
- .Style39 {font-size: 16px; font-family: Geneva, Arial, Helvetica, sans-serif;}
- .Style41 {color: #000000}
- .Style42 {
- color: #FFFFFF;
- font-family: Geneva, Arial, Helvetica, sans-serif;
- font-size: 14px;
- }
- -->
- </style>
- <script language="JavaScript">
- function ouvrir() {
- var index=document.forms[0].elements[0].options.selectedIndex;
- if (index>0)
- {
- var page=document.forms[0].elements[0].options[index].value;
- window.open(page,"_self" );
- }
- }
- </script>
- <!-- InstanceEndEditable -->
- </head><body class="fond-site" onload="MM_preloadImages('../images/pixel.gif')">
- <script language="JavaScript1.2">mmLoadMenus();</script><span id="menuContainer"><div id="menuLayer0" style="position: absolute; z-index: 1; left: -300px; top: -300px; visibility: hidden; color: rgb(255, 255, 255); background-color: rgb(255, 255, 255); width: 250px; height: 167px;">
- <div id="menuLite0" style="position: absolute; z-index: 1; left: 0px; top: 0px; height: 167px; width: 250px; background-color: rgb(255, 255, 255);" onmouseout="mouseoutMenu();">
- <div id="menuFg0" style="position: absolute; left: 0px; top: 0px; height: 167px; width: 250px; background-color: rgb(255, 255, 255);">
- <div id="menuItem0" style="position: absolute; left: 0px; top: 0px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; width: 250px; height: 20px; background-color: rgb(51, 51, 51); visibility: inherit;"><div id="menuItemText0" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255);">Formation sst / secourisme </div>
- <div id="menuItemHilite0" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation sst / secourisme </div></div><div id="menuItem1" style="position: absolute; left: 0px; top: 21px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; width: 250px; height: 20px; background-color: rgb(51, 51, 51); visibility: inherit;"><div id="menuItemText1" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255);">Formation sst / secourisme </div>
- <div id="menuItemHilite1" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation ergonomie </div></div><div id="menuItem2" style="position: absolute; left: 0px; top: 42px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; width: 250px; height: 20px; background-color: rgb(51, 51, 51); visibility: inherit;"><div id="menuItemText2" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255);">Formation ergonomie </div>
- <div id="menuItemHilite2" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation Incendie </div></div><div id="menuItem3" style="position: absolute; left: 0px; top: 63px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; width: 250px; height: 20px; background-color: rgb(51, 51, 51); visibility: inherit;"><div id="menuItemText3" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255);">Formation Incendie </div>
- <div id="menuItemHilite3" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation Habilitation électrique </div></div><div id="menuItem4" style="position: absolute; left: 0px; top: 84px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; width: 250px; height: 20px; background-color: rgb(51, 51, 51); visibility: inherit;"><div id="menuItemText4" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255);">Formation Habilitation électrique </div>
- <div id="menuItemHilite4" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation CACES </div></div><div id="menuItem5" style="position: absolute; left: 0px; top: 105px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; width: 250px; height: 20px; background-color: rgb(51, 51, 51); visibility: inherit;"><div id="menuItemText5" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255);">Formation CACES </div>
- <div id="menuItemHilite5" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation Spécifique </div></div><div id="menuItem6" style="position: absolute; left: 0px; top: 126px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; width: 250px; height: 20px; background-color: rgb(51, 51, 51); visibility: inherit;"><div id="menuItemText6" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255);">Formation secourisme </div>
- <div id="menuItemHilite6" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation secourisme </div></div><div id="menuItem7" style="position: absolute; left: 0px; top: 147px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; width: 250px; height: 20px; background-color: rgb(51, 51, 51); visibility: inherit;"><div id="menuItemText7" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255);">Audit , conseil et assistance </div>
- <div id="menuItemHilite7" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Audit , conseil et assistance </div></div> <div id="focusItem0" style="position: absolute; left: 0px; top: -30px;" onclick="onMenuItemAction(null,this);"> </div>
- </div>
- </div>
- </div>
- </span>
- <table align="center" border="0" cellpadding="0" cellspacing="0" width="997">
- <tbody><tr>
- <td><table border="0" cellpadding="0" cellspacing="0" width="997">
- <tbody><tr>
- <td width="333"><a href="index.html"><img src="Formation/logo.gif" alt="logo AB prevention" border="0" width="287" height="107"></a></td>
- <td width="466"><span class="titre"><br>
- <span class="gras-gros">AB prévention, </span><span class="gras-gros2"><br>
- votre partenaire sécurité </span></span></td>
- <td class="gras" align="center" valign="top" width="198"> </td>
- </tr>
- </tbody></table></td>
- </tr>
- <tr>
- <td valign="top" height="30"><table border="0" cellpadding="4" cellspacing="0" width="100%" height="30">
- <tbody><tr>
- <td class="fond-btn" valign="bottom" width="20%"><a href="index.html" class="lien-nav">ACCUEIL</a></td>
- <td class="fond-btn" valign="bottom" width="20%"><a href="abprevention.html" class="lien-nav">QUI SOMMES NOUS ?</a></td>
- <td class="fond-btn" valign="bottom" width="20%"><a href="#" class="lien-navg" target="_self" onmouseover="MM_swapImage('Image3','','../images/pixel.gif',1);MM_showMenu(window.mm_menu_0714151730_0,0,18,null,'Image3')" onmouseout="MM_swapImgRestore();MM_startTimeout()"><img src="Formation/pixel.gif" name="Image3" id="Image3" border="0" width="5" height="8">FORMATIONS SECURITE</a></td>
- <td class="fond-btn" valign="bottom" width="20%"><a href="reglementation.html" class="lien-nav">REGLEMENTATION</a></td>
- <td class="fond-btn" valign="bottom" width="20%"><a href="contact.html" class="lien-nav">CONTACTEZ-NOUS</a></td>
- </tr>
- </tbody></table></td>
- </tr>
- <tr>
- <td valign="top"><!-- InstanceBeginEditable name="contenu" -->
- <table class="fond-formation" border="1" cellpadding="10" cellspacing="0">
- <tbody><tr>
- <td class="fond-qui" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="842">
- <tbody><tr>
- <td width="35"> </td>
- <td width="807"> </td>
- </tr>
- <tr>
- <td> </td>
- <td valign="top">
- <p>
- <span class="Style39"> Accueil
- </span>
- </p>
- <p> </p>
- <p><br>
- </p>
- </td>
- </tr>
- </tbody></table> </td>
- </tr>
- </tbody></table>
- <!-- InstanceEndEditable --></td>
- </tr>
- </tbody></table>
- <script src="Formation/urchin.js" type="text/javascript">
- </script>
- <script type="text/javascript">
- _uacct = "UA-3449900-3";
- urchinTracker();
- </script>
- <!-- InstanceEnd --></body></html>
|
Le CSS :
|