Bonjour,

J'ai un petit problème d'affichage avec deux div comme ceci sur Firefox 3:

http://www.billet-avion-direct.com/frog/index.html à voir avec firefox 3


Code : Sélectionner tout - Visualiser dans une fenêtre à part
<div id='titre'><b><a href='#' >Problème de div</a>&nbsp;&nbsp;</b><div id='prix'><b>15</b></div></div>
et le code css :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<style type="text/css">
#titre {
         font-style:normal;
         font-family:Arial, Helvetica, sans-serif; 
         font-size:11px;    
         color:#5596bf;
         height:20px;
         width:792px;
         border:1px solid red;
         background-color : #f0f7ff;
         float:left;
         margin-top: 2px;
         margin-left: 10px;
         margin-right: auto;
}
#prix {
         font-style:bold;
         font-family:Arial, Helvetica, sans-serif; 
         font-size:11px;    
         height:12px;
         width:80px;
         border:1px solid red;
         background-color : #f0f7ff;
         margin-top: 2px;
         margin-left: 2px;
         margin-right: auto;
         float:right;
         text-align:right;
         color:red;
 
}
</style>

Le problème est que sur Firefox le deuxième div descend, normalement il doit rester aligné. et centré.