Salut
Je voudrais savoir pourquoi mon div "parametres" ne se centre pas, merci.
Code HTML : 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 <DOCTYPE HTML> <HTML> <head> <meta charset="UTF-8"> <title>PROFIL</title> <link rel="stylesheet" href="travail.css" /> </head> <body> <div class="panneaux" id="pannel"> <div id="centreparams"> <div id="parametres"> blabla </div> </div> </div> </body> </HTML>
Code CSS : 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 .panneaux { position:relatif; display:block; width:100%; height:100%; background-color:#A9FF44; } #pannel { background-color:white; } .param { position:relative; font-size:18px; padding:1px; } #parametres { position:relative; display:block; text-align:left; width:50%; background-color:#BBBBBB; } #centreparams { position:relative; display:block; text-align:center; background-color:#00FF00; width:100%; margin-top:40px; }
Partager