Bonjour à tous je viens de réaliser mon premier site avec un jolie design.
http://dexter74240.free.fr/
Mon problème :
Pied.php est au dessus du centres.php donc mon copyright est en haut au lieur d'être en bas.
Mon 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120 body { background-image: url(./images/fond.jpg); background-attachment: fixed; } /* ------------------- L'en-tête ------------------- */ #en_tete { height: 150px; width: 1350px; Margin-left: 2%; background-image: url("./images/banniere.gif"); /* Bannière du site */ background-color: #626262; filter: alpha(opacity=80); /* Opacité Bannière */ } /* ------------------- Gauche ------------------- */ #Gauche { float: left; Margin-left: 10px; } .element_Gauche { background-color: #626262; background-image: url("images/gauche.jpg"); } /* Quelques effets sur les menus */ .element_Gauche h4 /* Tous les titres de menus */ { font-family: Arial, "Arial Black", "Times New Roman", Times, serif; text-align: center; } .element_Gauche ul /* Toutes les listes à puces se trouvant dans un menu */ { margin: 0px; /* Idem pour margin, ça nous évite d'avoir à en écrire 4 (margin-left, margin-right...) */ margin-bottom: 5px; /* Même chose que tout à l'heure, on modifie ensuite juste margin-bottom, mais tous les autres sont à 0px */ } .element_Gauche a /* Tous les liens se trouvant dans un menu */ { color: #B3B3B3; } .element_Gauche a:hover /* Quand on pointe sur un lien du menu */ { background-color: #B3B3B3; color: black; } /* ------------------- Droite ------------------- */ #Droite { float: right; Margin-left: 10px; background-image: url("images/gauche.jpg"); } /* ------------------- Corps ------------------- */ #Corps { position:absolute; left: 50%; top: 50%; width: 700px; height: auto; margin-top: -200px; /* moitié de la hauteur */ margin-left: -350px; /* moitié de la largeur */ border: 1px solid #000; margin-bottom: 5px ; } /* ------------------- Pieds ------------------- */ .Pieds { position: absolute; margin: 700px 0px 0px 254px; background: url('images/pied_de_page.jpg') no-repeat top left; width: 770px; height: 50px; border: 0px #000000 solid; clear:both; /*Place le pied en element flottant*/ }
Partager