Sans foi ni loi
 Groupe : Membres
|
Bonjour chers Zéros ! J'ai un petit problème : ici
Comme vous pouvez le voir, je n'arrive pas à centrer la publicité en dessous du menu : et cela provoque une "baisse" du texte d'accueil !
Pouvez vous m'aider à rédoudre ce problème ?
Mon code CSS
Code : CSS 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235 | .comment {
text-align: center;
}
body {
font: 70%/130% Verdana, Arial, Helvetica, sans-serif;
color: #3f3e3e;
background: url(../images/fond.jpg);
margin: 0px;
padding: 0px;
}
a, strong a {
color: #9f7401;
text-decoration:none;
outline: none;
}
a:visited {
color: #9f7401;
text-decoration: none;
}
a:hover {
color: #7a4f0b;
text-decoration: none;
}
img {
margin: 0px 0px 5px;
border: none;
}
p {
margin: 0px 0px 12px;
text-align: justify;
}
h1 {
margin:0px;
padding-left: 385px;
font: bold 36px/100% "Trebuchet MS", Tahoma, Arial;
color: #965800;
}
h1 a{
display:block;
height: 50px;
width: 280px;
text-indent: -900em;
text-decoration: none;
line-height:100%;
}
h2 {
margin: 0px 0px 2px;
color: #965800;
border-bottom: 1px dashed #965800;
font: normal 170%/100% "Trebuchet MS", Arial, sans-serif;
padding-bottom: 2px;
text-align: center;
}
h2 a, h2 a:visited {
color: #965800;
text-decoration: none;
}
h2 a:hover {
color: #ffbc07;
text-decoration: none;
}
h3 {
margin: 0px;
padding:0px;
font: bold 14px "Trebuchet MS", Tahoma, Arial;
color:#965800;
text-transform:none;
letter-spacing: 0px;
padding-bottom: 3px
}
form {
margin:0px;
padding:0px;
}
hr.hidden {
clear:both;
visibility:hidden;
margin:0px;
padding:0px;
}
#body {
width: 835px;
margin: 0px auto;
background: url(../images/fond.jpg);
padding-bottom: 10px;
border-bottom: 1px solid #d4d4d4;
border-left: 1px solid #d4d4d4;
border-right: 1px solid #d4d4d4;
border-top: 1px solid #d4d4d4;
}
/* header area */
#header {
background: url(../images/header.jpg) no-repeat;
width: 835px;
height: 150px;
position: relative;
margin: 0px auto
}
/* content area */
#content {
float: left;
width: 570px;
padding-left: 10px;
}
.entry {
padding-top: 10px;
padding-bottom: 15px;
}
code {
font: 8pt "Courier New", Courier, monospace;
margin: 5px 0px;
padding: 10px;
margin-bottom: 20px;
display:block;
border: 1px dashed #818181;
text-align: center;
}
.news
{
background-color: #FAEBD7;
text-align: center;
}
/*sidebar */
#menu {
float: left;
width: 160px;
padding-left: 10px;
padding-right: 10px;
}
#pub {
float: left;
width: 160px;
padding-left: 10px;
padding-right: 10px;
position: left;
}
#menu h2 {
margin: 0px 0px 2px;
color: #965800;
border-bottom: 1px dashed #965800;
font: normal 170%/100% "Trebuchet MS", Arial, sans-serif;
padding-bottom: 2px;
}
#menu a {
color: #000000;
}
#menu a:visited {
color: #000000;
}
#menu a:hover {
color: #ffbc07;
}
.menu-list {
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
margin: 0px 0px 15px;
padding-top: 0px;
list-style-type: none
}
.menu-list li{
padding-right: 6px;
display: block;
padding-left: 12px;
border-bottom: 1px dashed #965800;
background: url(../images/text-link-arrow.gif) no-repeat left center;
padding-top: 4px;
padding-bottom: 4px;
line-height: 165%;
list-style-type: none
}
/* footer area */
#copyright {
margin: 0px auto;
width: 835px;
color: #3f3e3e;
font-size: 90%;
padding-top: 10px;
padding-bottom: 15px;
float: center;
position:center;
text-align:center;
}
#copyright a{
color: #965800;
text-decoration:none;
outline: none;
}
#copyright a:visited {
color: #965800;
text-decoration: none;
}
#copyright a:hover {
color: #965800;
text-decoration: none;
}
.copyalignleft {
float: center;
padding-left: 5px;
position: center;
text-align: center;
}
.copyalignleft P {
text-align: center;
}
table
{
border-collapse: collapse;
}
td, th /* Mettre une bordure sur les td ET les th */
{
border: 1px solid black;
}
|
Et mon code PHP
Code : PHP 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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Inachevée</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"/>
<link rel="icon" type="image/png" href="images/favicon.png" />
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<meta name="description" content="Bienvenue dans Inachevée. Vous allez pouvoir découvrir des centaines de bandes-annonces sur d'épiques sagas qui n'auront jamais lieu ! " />
<meta name="keywords" content="mp3, inachevée, bande-annonce, bandes-annonces, fantasy, saga, aventure, dieu, siegfried, futur, saga mp3, aventure mp3 " />
<meta name="author" content="Inachevée" />
<meta name="reply-to" content="Siegfried" />
<meta name="copyright" content="© Copyright - 2007 - tous droits réservés" />
<meta name="category" content="Littérature" />
<meta name="revisit-after" content="1 days" />
</head>
<body>
<div id="header">
</div><!--/header -->
<div id="body">
<!--Menu start -->
<?php
include("includes/menu.php");
?>
<!--Menu end -->
<?php
include("includes/pub.php");
?>
<?php
include("includes/corps.php");
?>
<hr class="hidden" />
</div><!--/body -->
<!--Pied de page -->
<div id="copyright">
<?php
include("includes/copy.php");
?>
</div>
</body>
</html>
|
Merci d'avance !
|