Salut
En codant ma page web, je n'arrive pas à 'obliger' mon footer d'être affiché toujours en bas de la page :
Code php :
Je pense que tout est ok !
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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" > <head> <title>www.fabien-issartel.fr</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" media="screen" type="text/css" title="Design par défaut" href="includes/themes/pardefaut/fi_pardefaut.css" /> </head> <body> <div id="cadre_principale"> <?php include("includes/fich_ext/partie_header.php"); ?> <?php include("includes/fich_ext/partie_colonne_gauche_generale.php"); ?> <?php include("includes/fich_ext/partie_milieu.php"); ?> <?php include("includes/fich_ext/partie_footer.php"); ?> </div> </body> </html>
Mon css :
Et voilà ce qu'il m'affiche :
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 body { background-image:url(images/fond.gif); } #cadre_principale { width: 700px; margin: auto; border: 1px solid #000000; background-color: #FFFFFF; } #header { } #colonne_gauche_generale { float: left; background-color: green; } #partie_milieu { background-color: red; } #footer { }
Comment règler ?
Partager