Bonjour, voici mon code css,
je voudrais un peu d'aide pour placer le menu à gauche, le bandeau en haut, le pied de page en bas et le div#contenu au centre.
j'ai mis en PJ mon fichier html
Mon objectif est de faire une page d’accueil plus ou moins belle.
merci par avance
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 body{ background-image : url("fond.jpg"); background-color:blue; } h1{ text-decoration : blink; border: 3px blue dashed; font-family: 'LearningCurveProRegular', Arial, serif; } h1{ font-style:oblique; border-style:solid; } h2 { color:black; text-align:center; } h3{ /*text-align : center;*/ text-decoration : underline; color: white; font-size:140%; /*height:50px; padding:15px;*/ } h4 { color: white; text-indent :30px ; /*text-align:center*/ } div#bandeau { width:600px; height:50px; background-color:#00CCFF; } div { text-align:center; } div#bandeau { width:600px; height:50px; background-color:#00CCFF; } div#menu { float:left; width:auto; height:400px; /*background-color:#FF6699;*/ } div#contenu { float:left; width:500px; height:400px; #background-color:#FFCC00; } div#pied_page { clear:both; width:600px; height:50px; background-color:#33FF99; }
Partager