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

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  [Résolu] CSS ne fonctionnant pas sour Firefox

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Résolu] CSS ne fonctionnant pas sour Firefox

n°1302362
babeuf
Posté le 09-02-2006 à 17:50:33  profilanswer
 

Bonjour, voila un petit moment que je m arrache les cheveux sur mon fichier css.  
 
En effet, celui ci fonctionne parfaitement sous IE mais la moitié des propriétés que je définis ne fonctionne pas sous Firefox.
 
 
Quelqu'un aurait il la solution ?  
 
Voila le fichier en question :  
 

Code :
  1. <!--
  2. body {
  3. background-color: #c6baba;
  4. font-family:Arial;
  5. font-size:12px;
  6. }
  7. a:link {
  8. color: #000000;
  9. font-weight:bold;
  10. }
  11. a:visited {
  12. color: #000000;
  13. font-weight:bold;
  14. }
  15. a:hover {
  16.    color: #666666;
  17. font-weight:bold;
  18. }
  19. a:active {
  20. color: #000000;
  21. font-weight:bold;
  22. }
  23. .fond {
  24. background-color: #ffffff;
  25. border: 1px solid gray;
  26.     border-color:#8E8E8E;
  27. }
  28. <!-- Menu haut de page -->
  29. .menuhaut {
  30. background-image:url(images/barreverte.gif);
  31. height:21px;
  32. width:550px;
  33. font-size:14px;
  34. font-weight:bold;
  35. }
  36. .menuhaut a{
  37. height:21px;
  38. width:500px;
  39. font-size:14px;
  40. font-weight:bold;
  41. text-decoration: none;
  42. }
  43. .menuhaut a:link{
  44. color: #000000;
  45. text-decoration: none;
  46. }
  47. .menuhaut a:visited{
  48. color: #000000;
  49. text-decoration: none;
  50. }
  51. .menuhaut a:hover{
  52. color: #666666;
  53. text-decoration: none;
  54. }
  55. <!-- Cadres -->
  56. .etiquette {
  57. background-image:url(images/barreverte.gif);
  58. height:21px;
  59. font-size:12px;
  60. font-weight:bold;
  61. text-align:center;
  62. }
  63. .fondcadre {
  64. background-color: #E5E5E5;
  65. border: 1px solid gray;
  66.     border-color:#8E8E8E;
  67. }
  68. .blanc {
  69. background-color:#FFFFFF;
  70. height:21px;
  71. font-size:12px;
  72. font-weight:bold;
  73. text-align:center;
  74. }
  75. .blanc a{
  76. font-size:12px;
  77. font-weight:bold;
  78. text-decoration: none;
  79. }
  80. <!-- Menu Gauche -->
  81. }
  82. .fondgauche {
  83. background-color: #E5E5E5;
  84. border: 1px solid gray;
  85.     border-color:#FFFFFF;
  86. font-size:12px;
  87.     font-weight:bold;
  88.     text-align:center;
  89. text-transform:uppercase;
  90. }
  91. .fondgauche a{
  92. font-size:12px;
  93. font-weight:bold;
  94. text-decoration: none;
  95. }
  96. .fondgauche a:link{
  97. color: #000000;
  98. text-decoration: none;
  99. }
  100. .fondgauche a:visited{
  101. color: #000000;
  102. text-decoration: none;
  103. }
  104. .fondgauche a:hover{
  105. color: #888888;
  106. text-decoration: none;
  107. }
  108. .proposer {
  109. background-color: #E5E5E5;
  110. border: 1px solid gray;
  111.     border-color:#FFFFFF;
  112. font-size:12px;
  113.     font-weight:bold;
  114.     text-align:center;
  115. text-transform:uppercase;
  116. }
  117. .proposer a{
  118. font-size:12px;
  119. font-weight:bold;
  120. text-decoration: none;
  121. }
  122. .proposer a:link{
  123. color: #000000;
  124. text-decoration: none;
  125. }
  126. .proposer a:visited{
  127. color: #000000;
  128. text-decoration: none;
  129. }
  130. .proposer a:hover{
  131. color: #AE0030;
  132. text-decoration: none;
  133. }
  134. .fondtop {
  135. background-color: #E5E5E5;
  136. border: 1px solid gray;
  137.     border-color:#FFFFFF;
  138. font-size:10px;
  139.     font-weight:bold;
  140. }
  141. .fondtop a{
  142. font-weight:bold;
  143. font-size:10px;
  144. text-decoration: none;
  145. }
  146. .fondtop a:link{
  147. color: #000000;
  148. text-decoration: none;
  149. }
  150. .fondtop a:visited{
  151. color: #000000;
  152. text-decoration: none;
  153. }
  154. .fondtop a:hover{
  155. color: #666666;
  156. text-decoration: none;
  157. }
  158. input.bouton {
  159. border:1px outset black;
  160. font-weight:bold;
  161. cursor:pointer;
  162. background-color:#FFFFFF;
  163. }
  164. -->

 
 
et je l integre dans ma page de cette facon :

Code :
  1. <link href="naweb.css" rel="stylesheet" type="text/css">

 
 
Par exemple, les propriétés définies pour fond cadre fonctionnent et pas celles pour etiquette, ou fondgauche.
 
Merci d'avance à celui qui me débloquera !


Message édité par babeuf le 09-02-2006 à 17:53:42
mood
Publicité
Posté le 09-02-2006 à 17:50:33  profilanswer
 

n°1302368
babeuf
Posté le 09-02-2006 à 17:54:25  profilanswer
 

Bon en fait c'étaient mes commentaires <!-- --> qui ne passaient pasj, ainsi qu'une accolade de trop.
 
 
Désolé pour le dérangement.

n°1302429
alaindeloi​n69
Posté le 09-02-2006 à 19:22:43  profilanswer
 

lol, il faut bien se relire avant de poster !!!

n°1302497
gatsu35
Blablaté par Harko
Posté le 09-02-2006 à 21:17:47  profilanswer
 

babeuf a écrit :

Bon en fait c'étaient mes commentaires <!-- --> qui ne passaient pasj, ainsi qu'une accolade de trop.
 
 
Désolé pour le dérangement.


un commentaire HTML n'est pas un commentaire CSS
 
un commentaire en CSS c'est :  
/*mon paté de commentaire*/
 


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

  [Résolu] CSS ne fonctionnant pas sour Firefox

 

Sujets relatifs
Variance de taille du menu CSS[RESOLU] Décalage mise en page sous IE avec readfile().
!i! RESOLU !i! fonction exec() attente fin du prog[Sql] Besoin d'aide pour une requête ( simple pourtant ... ) [résolu]
[Résolu]Obtenir le code source.[Résolu]Variance de taille de page entre FF et IE
Excel 2002 - longueur à l'ouverture d'un fichier (résolu)[ANT Resolu] cactus Ant Task
CSS et Flash[resolu]Debutant en php - derniere connection
Plus de sujets relatifs à : [Résolu] CSS ne fonctionnant pas sour Firefox


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