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

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  Menu vertical déroulant hs sous firefox

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Menu vertical déroulant hs sous firefox

n°1134041
porc1net
superseded
Posté le 28-06-2005 à 18:32:59  profilanswer
 

Salut, dans le cadre d'un stage je réalise un site internet. Voulant en profiter pour apprendre le php et les feuilles de style css, j'ai bâti mon site sur le CMS Itseasy.
J'ai aussi intégré un menu déroulant vertical que j'avais trouvé sur le site alsacréation. Dans la boite où je bosse, le site marche très bien, sous IE.
Ce soir je rentre chez moi avec une copie du site et horreure le menu déconne à fond sous firefox. Etant donné que firefox respecte beaucoup mieux les standarts je pense que le souci viens de mon code.
Voici l'url d'une page de mon site :
http://prc.rezoo.org/sivom
et le css correspondant :

Code :
  1. body {
  2. margin:0em;
  3. margin-top:0.5em;
  4. padding:0em;
  5. background:#F2F2F2;
  6. background-repeat:repeat-y;
  7. color:#000;
  8. font-family:"Trebuchet MS", verdana, sans-serif;
  9. font-size:0.75em;
  10. }
  11. .sn_date
  12. {
  13. font-size : 0.9em;
  14. color : #001EFF;
  15. text-align : justify;
  16. }
  17. .sn_new
  18. {
  19. font-size : 1.0em;
  20. color : #000000;
  21. text-align : justify;
  22. }
  23. #menu {
  24. position: float;
  25. top: 10em;
  26. left: 1em;
  27. width: 10em;
  28. }
  29. #menu ul {
  30. margin: 0em;
  31. padding:2px;
  32. list-style: none;
  33. float : left;
  34. width : 11em;
  35. }
  36. #menu li {
  37. color:#666;
  38. font-weight:bold;
  39. text-align: left;
  40. font-size: 85%;
  41. height: 20px;
  42. line-height: 20px;
  43. background:#fff;
  44. }
  45. #menu li ul {
  46. font-size: 120%;
  47. }
  48. #menu li ul li{
  49. margin-left : 0.3em;
  50. }
  51. #menu li a, #menu dt a {
  52. color: #000;
  53. text-decoration: none;
  54. display: block;
  55. }
  56. #menu li a:hover {
  57. color :#0099FF ;
  58. }
  59. .lien_sortant {
  60. margin-right:18px;
  61. background:url("./images/out.png" );
  62. background-repeat:no-repeat;
  63. }
  64. .admin  {
  65. background:#FFF3F1;
  66. }
  67. .system {
  68. background:#F6FFF3;
  69. }
  70. blockquote {
  71. margin:1em;
  72. padding:1em;
  73. background:#dbf2fc;;
  74. -border:5px solid #dbf2fc;;
  75. -moz-border-radius:5px;
  76. }
  77. .bb_area {
  78. width:90%;
  79. }
  80. h1 {
  81. font-size:1.4em;
  82. color:#0099FF;
  83. margin-top:1.4em;
  84. margin-bottom:1.4em;
  85. }
  86. h2 {
  87. font-size:1.2em;
  88. margin-top:0em;
  89. color:#666;/*#087CAE;*/
  90. margin-top:1.3em;
  91. margin-bottom:1.3em;
  92. }
  93. h3 {
  94. font-size:1em;
  95. margin-top:0em;
  96. color:#087CAE;
  97. margin-top:1.3em;
  98. margin-bottom:1.3em;
  99. }
  100. strong {
  101. font-weight:bold;
  102. color:#444;
  103. }
  104. acronym {
  105. border-bottom:0.1em dotted #666;
  106. }
  107. ul {
  108. margin-top:1.5em;
  109. margin-bottom:1.5em;
  110. }
  111. li {
  112. margin-top:0.8em;
  113. margin-bottom:0.8em;
  114. }
  115. input, textarea {
  116. border:1px solid #DEDEDE;
  117. border-top:2px solid #DEDEDE;
  118. border-left:2px solid #DEDEDE;
  119. background:#dbf2fc;
  120. margin-top:0.3em;
  121. margin-bottom:0.3em;
  122. font-size:0.8em;
  123. }
  124. textarea {font-size:1em;width:80%;}
  125. input:hover {
  126. background:#f4fbfe;
  127. }
  128. p {
  129. line-height:1.7em;
  130. }
  131. a:link, a:visited {
  132. color:#666;
  133. text-decoration:underline;
  134. }
  135. a:hover {
  136. color:#0099FF;
  137. text-decoration:underline;
  138. }
  139. .spacer {
  140. border:0em;
  141. clear:both;
  142. margin:0em;
  143. padding:0em;
  144. width:0em;
  145. }
  146. .structure {
  147. padding:0em;
  148. background:#fff;
  149. border-left:1px solid #CDCDCD;
  150. border-right:1px solid #CDCDCD;
  151. width:780px;
  152. margin:auto;
  153. }
  154. .conteneur {
  155. background:#fff;
  156. background-position:bottom;
  157. }
  158. .header {
  159. height:65px;
  160. border-bottom:1px solid #CDCDCD;
  161. background:url("./images/header.png" ) #0ba6eb;
  162. color:#000;
  163. font-size:0.5em;
  164. }
  165. .gauche {
  166. float:left;
  167. width:20%;
  168. background:#fff;
  169. }
  170. .block_sommaire_gauche {
  171. margin:0em;
  172. }
  173. .block_sommaire_gauche a:link, .block_sommaire_gauche a:visited {
  174. text-decoration:none;
  175. border:0em;
  176. }
  177. .block_sommaire_gauche a:hover {
  178. color:#0099FF;
  179. }
  180. .block_sommaire_gauche p {
  181. margin:0em;
  182. padding-top:0.3em;
  183. padding-bottom:0.3em;
  184. text-indent:0.5em;
  185. color:#666;
  186. font-weight:bold;
  187. border-bottom:1px dotted #DEDEDE;
  188. background:#fff;
  189. }
  190. .block_sommaire_gauche ul {
  191. margin:0em;
  192. padding:0em;
  193. text-indent:1em;
  194. list-style: none;
  195. float : left;
  196. width : 11em;
  197. }
  198. .block_sommaire_gauche li {
  199. list-style-position:relative;
  200. list-style-type:none;
  201. float : left;
  202. line-height : 1.25em;
  203. width: 11em;
  204. margin-top:0em;
  205. margin-bottom:0em;
  206. padding-top:0.3em;
  207. padding-bottom:0.3em;
  208. background:#fff;
  209. }
  210. .block_sommaire_gauche li a:link, .block_sommaire_gauche li a:visited {
  211. text-decoration:none;
  212. font-weight:normal;
  213. color:#000;
  214. }
  215. .block_sommaire_gauche li a:hover {
  216. color:#0099FF;
  217. }
  218. .droite {
  219. float:left;
  220. width:20%;
  221. background:#fff;
  222. }
  223. .block_sommaire_droite {
  224. margin:0em;
  225. }
  226. .block_sommaire_droite h1 {
  227. margin:0em;
  228. padding-top:0.3em;
  229. padding-bottom:0.3em;
  230. text-indent:0.5em;
  231. color:#666;
  232. font-weight:bold;
  233. border-bottom:1px dotted #DEDEDE;
  234. background:#fff;
  235. font-size:1em;
  236. text-decoration:none;
  237. }
  238. .block_sommaire_droite h1 a {
  239. text-decoration:none;
  240. border:0em;
  241. }
  242. .block_sommaire_droite h1 a:link, .block_sommaire_droite h1 a:visited {
  243. text-decoration:none;
  244. border:0em;
  245. }
  246. .block_sommaire_droite h1 a:hover {
  247. color:#0099FF;
  248. }
  249. .block_sommaire_droite p, .block_sommaire_droite ul {
  250. margin:0em;
  251. padding:0.8em;
  252. text-align:justify;
  253. background:#fff;
  254. }
  255. .block_sommaire_droite ul {
  256. padding:0em;
  257. padding-left:0.8em;
  258. padding-right:0.8em;
  259. padding-bottom:1em;
  260. }
  261. .block_sommaire_droite li {
  262. list-style-position:inside;
  263. padding:0em;
  264. margin:0em;
  265. text-indent:1em;
  266. }
  267. .article_locked {
  268. margin:0em;
  269. background:url("./images/fond_article.png" ) #fff;
  270. }
  271. .article {
  272. float:left;
  273. width:59%;
  274. margin-top:0em;
  275. margin-bottom:0em;
  276. background:url("./images/fond_article.png" ) #fff;
  277. border-right:1px dotted #DEDEDE;
  278. border-left:1px dotted #DEDEDE;
  279. }
  280. .contenu_article {
  281. padding:1.5em;
  282. padding-top:0em;
  283. text-align:justify;
  284. }
  285. .contenu_article hr {
  286. border:0em;
  287. border-bottom:1px dotted #999;
  288. background:#fff;
  289. margin:auto;
  290. margin-top:1.8em;
  291. margin-bottom:1.8em;
  292. width:80%;
  293. text-align:center;
  294. }
  295. .footer {
  296. font-size:0.8em;
  297. padding:0.8em;
  298. text-align:right;
  299. border-top:1px solid #CDCDCD;
  300. border-bottom:1px solid #CDCDCD;
  301. background:url("./images/footer.png" ) #0ba6eb;
  302. background-position:bottom;
  303. color:#fff;
  304. }
  305. .powered {
  306. font-size:0.85em;
  307. text-align:center;
  308. color:#666;
  309. }
  310. .generation {
  311. width:99%;
  312. text-align:center;
  313. margin:1em;
  314. font-size:0.8em;
  315. color:#666;
  316. }
  317. .red {
  318. color:red;
  319. }
  320. .previsualisation {
  321. background:#fff;
  322. margin:0.5em;
  323. padding:1em;
  324. border:1px solid #cad0d8;
  325. }
  326. .localisation {
  327. font-size:0.9em;
  328. background:#fff;
  329. padding:0.3em;
  330. border-top:1px solid #fff;
  331. border-bottom:1px dotted #DEDEDE;
  332. }
  333. .editeur {
  334. height:500px;
  335. width:90%;
  336. }
  337. table {
  338. border:1px solid #CAD0D8;
  339. background:#fff;
  340. padding:0.5em;
  341. border-collapse:collapse;
  342. letter-spacing:-1px;
  343. text-align:center;
  344. }
  345. th {
  346. background:#dbf2fc;
  347. color:#666;
  348. text-align:center;
  349. padding:0.3em;
  350. }
  351. td {
  352. border:1px solid #CAD0D8;
  353. background:#fff;
  354. padding:0.3em;
  355. }
  356. img a:link, img a:hover, img a:visited, img {
  357. border:0em;
  358. }
  359. samp {
  360. font-size:1em;
  361. background:#fff;
  362. padding:1em;
  363. border:1px solid #dbf2fc;
  364. border-left:1em solid #dbf2fc;
  365. display:block;
  366. }
  367. pre {
  368. font-size:1em;
  369. background:#fff;
  370. padding:1em;
  371. border:1px solid #CAD0D8;
  372. border-left:1em solid #CAD0D8;
  373. }


 
Désolé pour la longueur, il faudrais que j'y fasse le ménage.
Si quelqu'un pouvait y jeter un coup d'oeil se serait sympa  [:itm]  
Merci


Message édité par porc1net le 28-06-2005 à 18:37:31

---------------
"Le basketball est le second sport d’intérieur le plus excitant, et le premier ne devrait pas avoir de spectateurs." D. Vertlieb - Feed
mood
Publicité
Posté le 28-06-2005 à 18:32:59  profilanswer
 

n°1134295
porc1net
superseded
Posté le 29-06-2005 à 08:18:09  profilanswer
 

Personne ? :(


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

  Menu vertical déroulant hs sous firefox

 

Sujets relatifs
menu horizontal dans un header.script incompatible MOZ/FIREFOX
Police dynamique sous Mozilla FirefoxFireFox, Javascript et FLASH
probleme entre internet explorer et firefoxGalerie PHP qui ne marche pas sous Firefox
[C#] masquer / afficher le menu (MainMenu)Probleme avec FIREFOX et EBAY
Problème champ texte firefoxHELP, Menu déroulant dynamique avec PHP [RESOLU]
Plus de sujets relatifs à : Menu vertical déroulant hs sous firefox


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