kikou,
voila impossible de centrer mon site, avec le margin : auto; voila ma page:
j ai donc div general qui englobe mon site pour le centrer normalement mais la ca marche pas et il reste un peu plus a gauche j ai remarquer que des que j enleve le float:left du center donc du milieu de mon site la page ce centre.
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
<body>
<div id="general">
              <div id="header">
                  <div id="logo_fleur"></div>
                 <div id="logo"></div>
              </div>
       <div id="menu_gauche">
<img src="<?php echo $host;?>images/galets.png"  style="margin:15px       </div>
 
 
			<div id="center">
 
				</div>
 
 
 
		<div id="menu_droit">
 
<img src="<?php echo $host;?>images/galets2.png" style="margin:15px;">
		</div>
 
 
	</div>
 
 
</body>
et voici le 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
body {text-align:center; padding:0; background-color:#fff; font-size:0.9em;
color: #522d1d;background: url(../images/degrader.png) repeat-x;width:100%;margin:auto;min-width:600px;max-width:1200px;height:auto;}
#general{ 
margin-left:auto;
margin-right:auto;
margin-top:5px;/*clear:left; */
 width:100%;min-width:600px;
 max-width:1200px;
 height:auto;
 text-align:center;
} /* Bug centrage FF : margin:0 auto */
 
 
/************EN TETE*********************************/
div#header {
height: 100px;
/*max-width:1200px;*/
width:100%;
padding:2px;
margin:auto;
 
	}
/*-#logo_fleur{
padding-top:50px;
padding-left:40px;
/*position:absolute;
z-index:2;
background: url(../images/fleur_Elles.png) no-repeat ;
height:100px;
width:153px;
position:fixed;
overflow:auto; 
    
}
*/
 
div#logo {
 
height:100px;
background: url(../images/header.png) no-repeat! important;
background: none;
margin-top:15px;
width: 60%;
float:right;
margin-right:180px;
}
/*************************************************************************/	
/******************************PAGE*****************************************/	
 
 
div#center {
 
border:#432286 solid 4px;
width:55%;
background-color:white;
float: left;
margin-left: 10px;
margin-bottom: 10px; 
position:relative;
 
 
}
 
 
 
/***************MENU A DROITE***************************/
 
#menu_droit {
font-family: Edwardian Script ITC, times news roman;
height:auto;
float:left;
position:relative;
margin-top:80px;
 
}
#menu_droit a{width:auto;height:18px; font-size:1.8em; font-weight:bold;color:black; text-decoration:none; margin:40px 0 7px 5px;  display:block;}
 
 
/*********************MENU A gauche*********************/
 
#menu_gauche {
font-family: Edwardian Script ITC, times news roman;
position:relative;
height:auto;
float:left;
margin-top:80px;
 
}
#menu_gauche a{width:auto;height:18px; font-size:1.8em; font-weight:bold; color:black; text-decoration:none; margin:40px 0px 7px 15px; display:block;}
quelqu un a une idee?
mERCI