Bonjour, je suis en train de faire un site mais j'ai un problème pour centrer le contenu de la page. Voici mon code.
Merci pour votre aide.
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 html, body { min-width: 960px; width: 100%; height: 100%; } * { margin: 0; border: 0; padding: 0; } body { background: #e2f0f8; background-image: url(../images/degrade.png); background-repeat: no-repeat; background-attachment: scroll; background-size: cover; color: #1a1a1a; font-family: 'Lucida Sans', Arial, Verdana, "Helvetica Neue", "Nimbus Sans L", sans-serif; font-size: 13px; } #conteneur { /*width: 100%; margin: 0 auto; padding: 0;*/ position: relative; } #entete { margin-bottom: 10px; width: 100%; } /*-------------------Menu principal-----------------------*/ #main_menu { width: 100%; margin-top: 5px; position: relative; display: block; height: 39px; background: #fff; border-bottom: 3px solid #023540; } /*-------------------/Menu principal-----------------------*/ /*-------------------------------------------* /* Corps /*-------------------------------------------*/ #corps { border: 1px solid #fff; border-radius: 25px 0 25px 0; background: rgba(255, 255, 255, 1.0); margin: auto; padding: 10px 0px 0px 10px; width: 960px; display: table-cell; vertical-align: middle; position: relative; }
Partager