Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1627 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  Problème internet explorer + site web

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Problème internet explorer + site web

n°2074398
Sobrok
Posté le 06-05-2011 à 18:07:45  profilanswer
 

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 :
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head>
  3. <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  4. <!-- InstanceBeginEditable name="doctitle" -->
  5. <title>Accueil - AB Prévention</title>
  6. <meta name="copyright" content="AB Prévention" lang="fr">
  7. <meta name="ROBOTS" content="index, follow">
  8. <!-- InstanceEndEditable -->
  9. <link href="Formation/style.css" rel="stylesheet" type="text/css">
  10. <script language="JavaScript" src="Formation/menu.js"></script>
  11. <script language="JavaScript" src="Formation/mm_menu.js"></script>
  12. <script language="JavaScript" type="text/JavaScript">
  13. <!--
  14. function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  15.   if (init==true) with (navigator) {if ((appName=="Netscape" )&&(parseInt(appVersion)==4)) {
  16.     document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  17.   else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
  18. }
  19. MM_reloadPage(true);
  20. function MM_preloadImages() { //v3.0
  21.   var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  22.     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  23.     if (a[i].indexOf("#" )!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
  24. }
  25. function MM_swapImgRestore() { //v3.0
  26.   var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
  27. }
  28. function MM_findObj(n, d) { //v4.01
  29.   var p,i,x;  if(!d) d=document; if((p=n.indexOf("?" ))>0&&parent.frames.length) {
  30.     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  31.   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  32.   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  33.   if(!x && d.getElementById) x=d.getElementById(n); return x;
  34. }
  35. function MM_swapImage() { //v3.0
  36.   var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  37.    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
  38. }
  39. //-->
  40. </script>
  41. <!-- InstanceBeginEditable name="head" -->
  42. <style type="text/css">
  43. <!--
  44. .Style1 {font-size: 14px}
  45. .Style37 {color: #FFFFFF}
  46. .Style38 {font-size: 14px; font-family: Geneva, Arial, Helvetica, sans-serif; }
  47. .Style39 {font-size: 16px; font-family: Geneva, Arial, Helvetica, sans-serif;}
  48. .Style41 {color: #000000}
  49. .Style42 {
  50. color: #FFFFFF;
  51. font-family: Geneva, Arial, Helvetica, sans-serif;
  52. font-size: 14px;
  53. }
  54. -->
  55. </style>
  56. <script language="JavaScript">
  57. function ouvrir() {
  58. var index=document.forms[0].elements[0].options.selectedIndex;
  59. if (index>0)
  60.  {
  61.  var page=document.forms[0].elements[0].options[index].value;
  62.  window.open(page,"_self" );
  63. }
  64. }
  65. </script>
  66. <!-- InstanceEndEditable -->
  67. </head><body class="fond-site" onload="MM_preloadImages('../images/pixel.gif')">
  68. <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;">
  69.   <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();">
  70.  <div id="menuFg0" style="position: absolute; left: 0px; top: 0px; height: 167px; width: 250px; background-color: rgb(255, 255, 255);">
  71. <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&nbsp;</div>
  72. <div id="menuItemHilite0" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation sst / secourisme&nbsp;</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&nbsp;</div>
  73. <div id="menuItemHilite1" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation ergonomie&nbsp;</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&nbsp;</div>
  74. <div id="menuItemHilite2" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation Incendie&nbsp;</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&nbsp;</div>
  75. <div id="menuItemHilite3" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation Habilitation électrique&nbsp;</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&nbsp;</div>
  76. <div id="menuItemHilite4" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation CACES&nbsp;</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&nbsp;</div>
  77. <div id="menuItemHilite5" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation Spécifique&nbsp;</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&nbsp;</div>
  78. <div id="menuItemHilite6" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Formation secourisme&nbsp;</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  &nbsp;</div>
  79. <div id="menuItemHilite7" style="position: absolute; left: 7px; top: 3px; color: rgb(255, 255, 255); visibility: hidden;">Audit , conseil et assistance  &nbsp;</div></div>   <div id="focusItem0" style="position: absolute; left: 0px; top: -30px;" onclick="onMenuItemAction(null,this);">&nbsp;</div>
  80.    </div>
  81.   </div>
  82. </div>
  83. </span>
  84. <table align="center" border="0" cellpadding="0" cellspacing="0" width="997">
  85.   <tbody><tr>
  86.     <td><table border="0" cellpadding="0" cellspacing="0" width="997">
  87.         <tbody><tr>
  88.           <td width="333"><a href="index.html"><img src="Formation/logo.gif" alt="logo AB prevention" border="0" width="287" height="107"></a></td>
  89.           <td width="466"><span class="titre"><br>
  90.                 <span class="gras-gros">AB prévention, </span><span class="gras-gros2"><br>
  91.             votre partenaire sécurité </span></span></td>
  92.           <td class="gras" align="center" valign="top" width="198">          </td>
  93.         </tr>
  94.     </tbody></table></td>
  95.   </tr>
  96.   <tr>
  97.     <td valign="top" height="30"><table border="0" cellpadding="4" cellspacing="0" width="100%" height="30">
  98.       <tbody><tr>
  99.         <td class="fond-btn" valign="bottom" width="20%"><a href="index.html" class="lien-nav">ACCUEIL</a></td>
  100.         <td class="fond-btn" valign="bottom" width="20%"><a href="abprevention.html" class="lien-nav">QUI SOMMES NOUS ?</a></td>
  101.         <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>
  102.         <td class="fond-btn" valign="bottom" width="20%"><a href="reglementation.html" class="lien-nav">REGLEMENTATION</a></td>
  103.         <td class="fond-btn" valign="bottom" width="20%"><a href="contact.html" class="lien-nav">CONTACTEZ-NOUS</a></td>
  104.       </tr>
  105.     </tbody></table></td>
  106.   </tr>
  107.   <tr>
  108.     <td valign="top"><!-- InstanceBeginEditable name="contenu" -->
  109.       <table class="fond-formation" border="1" cellpadding="10" cellspacing="0">
  110.         <tbody><tr>
  111.           <td class="fond-qui" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="842">
  112.               <tbody><tr>
  113.                 <td width="35">&nbsp;</td>
  114.                 <td width="807">&nbsp;</td>
  115.               </tr>
  116.               <tr>
  117.                 <td>&nbsp;</td>
  118.                 <td valign="top">
  119.                   <p>
  120.                     <span class="Style39"> Accueil
  121.                     </span>
  122.                   </p>
  123.                   <p>&nbsp;                </p>
  124.                   <p><br>
  125.                   </p>
  126.                 </td>
  127.               </tr>
  128.           </tbody></table>          </td>
  129.         </tr>
  130.       </tbody></table>
  131.     <!-- InstanceEndEditable --></td>
  132.   </tr>
  133. </tbody></table>
  134. <script src="Formation/urchin.js" type="text/javascript">
  135. </script>
  136. <script type="text/javascript">
  137. _uacct = "UA-3449900-3";
  138. urchinTracker();
  139. </script>
  140. <!-- InstanceEnd --></body></html>


 
Le CSS :

Code :
  1. /* CSS Document */
  2. body {
  3. margin-left: 0px;
  4. margin-top: 0px;
  5. margin-right: 0px;
  6. margin-bottom: 0px;
  7. }
  8. .fond-accueil {
  9. background-image: url(images/fond_accueil.gif);
  10. background-repeat: no-repeat;
  11. height: 510px;
  12. width: 997px;
  13. background-position: left top;
  14. }
  15. .fond-i {
  16. background-image: url(images/fond-incendie.png);
  17. background-repeat: no-repeat;
  18. height: 636px;
  19. width: 997px;
  20. background-position: 98% 97%;
  21. }
  22. .fond-e {
  23. background-image: url(images/fond-ergo.png);
  24. background-repeat: no-repeat;
  25. height: 636px;
  26. width: 997px;
  27. background-position: 10% 30%;
  28. }
  29. .fond-caces {
  30. background-image: url(images/fond-caces.png);
  31. background-repeat: no-repeat;
  32. height: 636px;
  33. width: 997px;
  34. background-position: right top;
  35. }
  36. .fond-entre {
  37. background-image: url(images/fond_entre.jpg);
  38. background-repeat: no-repeat;
  39. height: 636px;
  40. width: 997px;
  41. background-position: left top;
  42. }
  43. .fond-inter{
  44. background-image: url(images/fond_inter.jpg);
  45. background-repeat: no-repeat;
  46. height: 636px;
  47. width: 997px;
  48. background-position: left top;
  49. }
  50. .fond-site {
  51. background-image: url(images/fond-g.JPG);
  52. background-repeat: no-repeat;
  53. height: 825px;
  54. width: 1650px;
  55. background-position: left top;
  56. }
  57. .fond-sitesutiles {
  58. background-image: url(images/fond_sites_utiles.jpg);
  59. background-repeat: no-repeat;
  60. height: 636px;
  61. width: 864px;
  62. background-position: left top;
  63. }
  64. .fond-stages {
  65. background-image: url(images/fond_stages_inter.jpg);
  66. background-repeat: no-repeat;
  67. height: 636px;
  68. width: 864px;
  69. background-position: left top;
  70. }
  71. .fond-formation2 {
  72. background-image: url(images/fond_formations.gif);
  73. background-repeat: no-repeat;
  74. height: 650px;
  75. width: 864px;
  76. background-position: left top;}
  77. .fond-formation {
  78. background-image: url(images/fond_formation.gif);
  79. background-repeat: no-repeat;
  80. height: 650px;
  81. width: 864px;
  82. background-position: left top;
  83. }
  84. .fond-formation {
  85. background-image: url(images/fond.gif);
  86. height: 636px;
  87. width: 997px;
  88. }
  89. .fond-nacelle {
  90. background-image: url(images/fond_nacelle.jpg);
  91. height: 636px;
  92. width: 997px;
  93. }
  94. .fond-echa {
  95. background-image: url(images/fond_echa.jpg);
  96. height: 636px;
  97. width: 997px;
  98. }
  99. .fond-formation1 {
  100. background-image: url(images/fond_formations1.gif);
  101. background-repeat: no-repeat;
  102. height: 650px;
  103. background-position: left top;
  104. }
  105. .fond-formation2 {
  106. background-image: url(images/fond_formations2.gif);
  107. background-repeat: no-repeat;
  108. height: 650px;
  109. width: 864px;
  110. background-position: left top;
  111. }
  112. .fond-formation3 {
  113. background-image: url(images/fond_formations3.gif);
  114. background-repeat: no-repeat;
  115. height: 650px;
  116. width: 864px;
  117. background-position: left top;
  118. }
  119. .fond-formation4 {
  120. background-image: url(images/fond_formation4.gif);
  121. background-repeat: no-repeat;
  122. height: 650px;
  123. width: 864px;
  124. background-position: left top;
  125. }
  126. .fond-formation5 {
  127. background-image: url(images/fond_formation5.gif);
  128. background-repeat: no-repeat;
  129. height: 650px;
  130. width: 864px;
  131. background-position: left top;
  132. }
  133. .fond-formation6 {
  134. background-image: url(images/fond_formation6.gif);
  135. background-repeat: no-repeat;
  136. height: 650px;
  137. width: 864px;
  138. background-position: left top;
  139. }
  140. .fond-formation7 {
  141. background-image: url(images/fond_formation7.gif);
  142. background-repeat: no-repeat;
  143. height: 650px;
  144. width: 864px;
  145. background-position: left top;
  146. }
  147. .fond-partenaires {
  148. background-image: url(images/fond_partenaires.jpg);
  149. background-repeat: no-repeat;
  150. height: 636px;
  151. width: 864px;
  152. background-position: left top;
  153. }

mood
Publicité
Posté le 06-05-2011 à 18:07:45  profilanswer
 

n°2074435
gatsu35
Blablaté par Harko
Posté le 06-05-2011 à 23:26:25  profilanswer
 

une url vers ton site ferait grandement avancer les choses


---------------
Blablaté par Harko

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  Problème internet explorer + site web

 

Sujets relatifs
Problème vectorImportant problème boutons d'executions
Projet de création de site web, vos conseils, vos avis...Problème avec un alphabeta en C pour othello
Problème de récupération de donnéesProblème programmation orientée objet
Problème sur page d'identification complexe sans bdd[Php/Sql] Problème Order By
Probleme avec cscriptProbléme avec jacarta tomcat 5.0 sous eclipse helios
Plus de sujets relatifs à : Problème internet explorer + site web


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR