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

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  Mon site marche plus sur IE 7 ?

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Mon site marche plus sur IE 7 ?

n°1507776
kolbek
Posté le 27-01-2007 à 15:00:19  profilanswer
 

Bonjour,
 
Voila je suis en train de faire un site cela fait plusieurs mois que je le fais et il fonctionne parfaitement sous firefox et IE 6, mais sur IE 7 plus rien ne va, les images ne s'affichent plus, le "look" css n'est pas reconnu...
 
J'ai juste les textes et les liens en vrac.
 
Sauriez vous m'aider ?
 
Merci d'avance.

mood
Publicité
Posté le 27-01-2007 à 15:00:19  profilanswer
 

n°1507798
dwogsi
Défaillance cérébrale...
Posté le 27-01-2007 à 15:45:39  profilanswer
 

Sans code ou lien on ne pourra pas t'aider.

n°1507885
kolbek
Posté le 27-01-2007 à 22:42:41  profilanswer
 

Visiblement c'est mon css qui ne va pas avec IE7 :
 

Code :
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. body
  6. {
  7. background-image: url("fond.jpg" );
  8. background-attachment: fixed;
  9. font-family: Arial;
  10. }
  11. #essai
  12. {
  13. font-size: 120%;
  14. }
  15. #conteneur
  16. {
  17. margin-left: auto;
  18. margin-right: auto;
  19. width: 775px;
  20. height: 500px;
  21. text-align: left;
  22. }
  23. #menuHaut
  24. {
  25. margin-left: auto;
  26. margin-right: auto;
  27. margin-top: 90px;
  28. width: 757px;
  29. height: 42px;
  30. filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='menuHaut.png');
  31. background-image: url("menuHaut.png" );
  32. }
  33. #liensHaut
  34. {
  35. text-align: left;
  36. padding-top: 8px;
  37. margin-left: 20px;
  38. }
  39. #spirale
  40. {
  41. text-align: left;
  42. margin-top: -20px;
  43. margin-left: 685px;
  44. }
  45. #bandeau
  46. {
  47. position: absolute;
  48. top: 0;
  49. width: 775px;
  50. height: 100px;
  51. background-image: url("bandeau.png" );
  52. }
  53. #blocID
  54. {
  55. width: 178px;
  56. }
  57. #contenubloc1
  58. {
  59. margin-left: 10px;
  60. font-family: Arial;
  61. font-size: 70%;
  62. }
  63. #contenubloc2
  64. {
  65. margin-left: 20px;
  66. font-family: Arial;
  67. font-size: 70%;
  68. }
  69. #corps
  70. {
  71. position: absolute;
  72. width: 590px;
  73. top: 150px;
  74. margin-left: 180px;
  75. }
  76. #encadre
  77. {
  78. border-style: groove;
  79. border-width: 5px;
  80. width: 250px;
  81. height: 80px;
  82. margin-left: 9%;
  83. text-align: center;
  84. }
  85. #lePlan
  86. {
  87. text-align: center;
  88. margin-top : -50px;
  89. }
  90. .bloc1
  91. {
  92. width: 178px;
  93. height: 26px;
  94. background-image: url("bloc1.png" );
  95. }
  96. .bloc2
  97. {
  98. width: 178px;
  99. background-image: url("bloc2.png" );
  100. }
  101. .bloc3p
  102. {
  103. width: 178px;
  104. height: 57px;
  105. margin-top: -25px;
  106. background-image: url("bloc3p.png" );
  107. }
  108. .bloc3g
  109. {
  110. width: 178px;
  111. height: 96px;
  112. margin-top: -60px;
  113. background-image: url("bloc3g.png" );
  114. }
  115. .titre1
  116. {
  117. color: red;
  118. font-size: 110%;
  119. margin-bottom : 10px;
  120. }
  121. .stylePrix
  122. {
  123. font-size: 90%;
  124. font-weight : bold;
  125. margin-top: 8px;
  126. color : dimgray;
  127. }
  128. .commentaire
  129. {
  130. font-size: 70%;
  131. }
  132. a.lien4:link
  133. {
  134. color: dimgray;
  135. text-decoration: underline overline;
  136. font-family: Arial;
  137. font-size : 60%;
  138. }
  139. a.lien4:visited
  140. {
  141. color: dimgray;
  142. text-decoration: underline overline;
  143. font-family: Arial;
  144. font-size : 60%;
  145. }
  146. a.lien4:hover
  147. {
  148. color: dimgray;
  149. text-decoration: underline overline;
  150. font-family: Arial;
  151. font-size : 60%;
  152. background : #FFCC00;
  153. }
  154. a.lienSM:link
  155. {
  156. color: dimgray;
  157. text-decoration: none;
  158. font-family: Arial;
  159. }
  160. a.lienSM:visited
  161. {
  162. color: dimgray;
  163. text-decoration: none;
  164. font-family: Arial;
  165. }
  166. a.lienSM:hover
  167. {
  168. color: dimgray;
  169. text-decoration: underline;
  170. font-family: Arial;
  171. }
  172. a.lienMenu:link
  173. {
  174. color: #E85C24;
  175. text-decoration: none;
  176. font-family: Arial;
  177. }
  178. a.lienMenu:visited
  179. {
  180. color: #E85C24;
  181. text-decoration: none;
  182. font-family: Arial;
  183. }
  184. a.lienMenu:hover
  185. {
  186. color: #E85C24;
  187. text-decoration: underline overline;
  188. font-family: Arial;
  189. }
  190. a.lien2:link
  191. {
  192. color: #660000;
  193. text-decoration: none;
  194. font-family: Arial;
  195. }
  196. a.lien2:visited
  197. {
  198. color: #660000;
  199. text-decoration: none;
  200. font-family: Arial;
  201. }
  202. a.lien2:hover
  203. {
  204. color: #660000;
  205. text-decoration: underline overline;
  206. font-family: Arial;
  207. }
  208. a.lienArt:link
  209. {
  210. color: black;
  211. text-decoration: underline;
  212. font-family: Arial;
  213. font-size : 200%;
  214. }
  215. a.lienArt:visited
  216. {
  217. color: black;
  218. text-decoration: underline;
  219. font-family: Arial;
  220. font-size : 200%;
  221. }
  222. a.lienArt:hover
  223. {
  224. color: black;
  225. text-decoration: underline;
  226. font-family: Arial;
  227. background : #FFCC00;
  228. font-size : 200%;
  229. }


 
Ici mon head de mon index.php :
 

Code :
  1. <head>
  2.  <title>Mon Site</title>
  3.  <meta name="Author" content="Nicolas" />
  4.  <meta name="Copyright" content="Nico" />
  5.  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  6.  <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://www.xxxxxxxxxxxx.info/MonSite/RSS/fluxrss.xml" />
  7.  <link type="text/css; charset=utf-8" rel="stylesheet" href="style_accueil.css" title="style_accueil" />
  8.  <!--[if lt IE 7.]>
  9.  <link rel="stylesheet" href="style_accueilIE.css" type="text/css"/>
  10.  <![endif]-->
  11.  <!--[if lt IE 7.]>
  12.  <script defer type="text/javascript" src="pngfix.js"></script>
  13.  <![endif]-->
  14. </head>

n°1507948
kolbek
Posté le 28-01-2007 à 12:39:28  profilanswer
 
n°1508035
forzayalta
Posté le 28-01-2007 à 20:49:58  profilanswer
 


 
donne aussi un lien de ta page web ca pourrait nous aider a avoir un meilleur apercu

n°1509431
kolbek
Posté le 01-02-2007 à 09:29:27  profilanswer
 

ya une différence niveau utilisation du css avec IE7 et IE6 ?

n°1509437
dwogsi
Défaillance cérébrale...
Posté le 01-02-2007 à 09:42:03  profilanswer
 

Oui ya quelques différences.

n°1509718
kolbek
Posté le 01-02-2007 à 17:30:14  profilanswer
 

Et quelles sont elles ?

n°1509740
dwogsi
Défaillance cérébrale...
Posté le 01-02-2007 à 17:48:24  profilanswer
 

Et biens disons que IE7 est plus respectueux des standards.
IE6 fait un peu ce qu'il veut.
D'ailleur j'ai été surpris de voir une css pour IE7, j'ai plus l'habitude d'en mettre pour le 6.

n°1509772
kolbek
Posté le 01-02-2007 à 19:08:24  profilanswer
 

heu, bon ca marche pas non plus avec IE6, j'ai fais le test...
 
Visiblement il rentre pas dans la condition :
 <!--[if lt IE 7.]>
 
C'est assez incompréhensible car avant je suis certain que cela fonctionnait... Y a t il quelque chose qui fait que cela ne fonctionne plus ?

mood
Publicité
Posté le 01-02-2007 à 19:08:24  profilanswer
 

n°1509775
gatsu35
Blablaté par Harko
Posté le 01-02-2007 à 19:27:01  profilanswer
 

putain un lien vers la apge :fou:


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

  Mon site marche plus sur IE 7 ?

 

Sujets relatifs
Administration site: CSS/PHP/Mysql,etc...[HTML/CSS/JavaScript]Projet interface site web 3d inspiré de XGl
probleme réalisatation site webPb affichage css sous Firefox mais marche sous IE
Créer une étude de marché en lignesite pas valide au w3C
Aide pour requêtes site de boolingMon scripte ne marche pas avec FireFox?
Rechercher forum a integrer a mon siteproteger un mail de contact sur son site web ?
Plus de sujets relatifs à : Mon site marche plus sur IE 7 ?


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