Footer problèmes
- aloof
- Newbie


- Inscription: Avr 03, 2004
- Messages: 14
- Loc: Oregon
- Status: Offline
http://engr.georgefox.edu/faculty/Bob_Harder/Quelqu'un peut-il me dire comment je peux faire ma position footer elle-même selon le panneau de navigation de sorte que le pied de page sera toujours assez bas?
Heres mon CSS:
a:link, a:visited
{
text-decoration: none;
color: #900b09;
}
a:hover, a:visited:hover
{
text-decoration: none;
color: #ff0000;
}
img
{
position:relative;
}
body
{
margin:0px;
padding:0px;
font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
background-color: #f0f0e0;
color: #333333;
}
#hdr
{
position:absolute;
background-image:url('images/background.gif');
background-repeat:no-repeat;
top: 0px;
left: 0px;
height:60px;
width:100%;
border-bottom:1px solid #000000;
margin:0;
font-size:35pt;
z-index: 1;
}
#lh
{
position: absolute;
top: 70px;
left: 10px;
width: 100px;
height: 15px;
border: 1px solid #000000;
background: #CC9933;
color: #ffffff;
margin: 0px;
padding: 0px;
text-align:center;
z-index: 1;
}
#lh2
{
position: absolute;
top: 85px;
left: 10px;
width: 100px;
height: auto;
border: 1px solid #000000;
background:#FFFFFF;
color:#000000;
margin: 0px;
padding: 0px;
text-align:left;
z-index: 1;
}
#lh2 a:hover {color:rgb(255,64,64);background-color:rgb(230,230,250);}
#lh2 a {display:block;}
#rh
{
position: absolute;
top: 70px;
right: 20px;
width: 200px;
height: 15px;
border: 1px solid #000000;
background: #CC9933;
color: #ffffff;
margin: 0px;
padding: 0px;
z-index: 1;
}
#rh2
{
position: absolute;
top: 85px;
right: 20px;
width: 200px;
height: auto;
border: 1px solid #000000;
background:#FFFFFF;
color:#000000;
margin: 0px;
padding: 5px;
z-index: 1;
}
#ctr
{
position: relative;
margin: 70px 230px 0px 120px;
border: 1px solid #333333;
background: #CC9933;
color: #ffffff;
padding: 0px;
text-align:center;
z-index: 7;
}
#ctr2
{
position: relative;
margin: 0px 230px 20px 120px;
border: 1px solid #333333;
background: #FFFFFF;
color: #000000;
padding: 5px;
z-index: 7;
}
#ftr
{
position: relative;
margin: 10px 0px 10px 0px;
border: 1px solid #000000;
width:100%;
height: 15px;
color: #00000;
background:#CC9933;
z-index: 6;
}
- a:link, a:visited
- {
- text-decoration: none;
- color: #900b09;
- }
- a:hover, a:visited:hover
- {
- text-decoration: none;
- color: #ff0000;
- }
- img
- {
- position:relative;
- }
- body
- {
- margin:0px;
- padding:0px;
- font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
- background-color: #f0f0e0;
- color: #333333;
- }
-
- #hdr
- {
- position:absolute;
- background-image:url('images/background.gif');
- background-repeat:no-repeat;
- top: 0px;
- left: 0px;
- height:60px;
- width:100%;
- border-bottom:1px solid #000000;
- margin:0;
- font-size:35pt;
- z-index: 1;
- }
-
- #lh
- {
- position: absolute;
- top: 70px;
- left: 10px;
- width: 100px;
- height: 15px;
- border: 1px solid #000000;
- background: #CC9933;
- color: #ffffff;
- margin: 0px;
- padding: 0px;
- text-align:center;
- z-index: 1;
- }
- #lh2
- {
- position: absolute;
- top: 85px;
- left: 10px;
- width: 100px;
- height: auto;
- border: 1px solid #000000;
- background:#FFFFFF;
- color:#000000;
- margin: 0px;
- padding: 0px;
- text-align:left;
- z-index: 1;
- }
- #lh2 a:hover {color:rgb(255,64,64);background-color:rgb(230,230,250);}
- #lh2 a {display:block;}
- #rh
- {
- position: absolute;
- top: 70px;
- right: 20px;
- width: 200px;
- height: 15px;
- border: 1px solid #000000;
- background: #CC9933;
- color: #ffffff;
- margin: 0px;
- padding: 0px;
- z-index: 1;
- }
- #rh2
- {
- position: absolute;
- top: 85px;
- right: 20px;
- width: 200px;
- height: auto;
- border: 1px solid #000000;
- background:#FFFFFF;
- color:#000000;
- margin: 0px;
- padding: 5px;
- z-index: 1;
- }
-
- #ctr
- {
- position: relative;
- margin: 70px 230px 0px 120px;
- border: 1px solid #333333;
- background: #CC9933;
- color: #ffffff;
- padding: 0px;
- text-align:center;
- z-index: 7;
- }
- #ctr2
- {
- position: relative;
- margin: 0px 230px 20px 120px;
- border: 1px solid #333333;
- background: #FFFFFF;
- color: #000000;
- padding: 5px;
- z-index: 7;
- }
-
- #ftr
- {
- position: relative;
- margin: 10px 0px 10px 0px;
- border: 1px solid #000000;
- width:100%;
- height: 15px;
- color: #00000;
- background:#CC9933;
- z-index: 6;
- }
Heres mon implémentation:
<html>
<link rel="stylesheet" type="text/css" href="http://engr.georgefox.edu/template/layout.css">
<head>
<title>Engineering Homepage - Faculty</title>
</head>
<body>
<?php
require('/var/www/html/template/loader.html');
?>
<!-- start center column -->
<div id="ctr">
<?php
echo "Some title";
?>
</div>
<div id="ctr2">
<p>Center column content.
</p>
</div>
<!-- end center column -->
<!-- start footer -->
<div id="ftr">
<?php require("/var/www/html/template/footer.html"); ?>
</div>
<!-- end footer -->
</body>
</html>
- <html>
- <link rel="stylesheet" type="text/css" href="http://engr.georgefox.edu/template/layout.css">
- <head>
- <title>Engineering Homepage - Faculty</title>
- </head>
- <body>
- <?php
- require('/var/www/html/template/loader.html');
- ?>
- <!-- start center column -->
- <div id="ctr">
- <?php
- echo "Some title";
- ?>
- </div>
- <div id="ctr2">
- <p>Center column content.
- </p>
- </div>
- <!-- end center column -->
- <!-- start footer -->
- <div id="ftr">
- <?php require("/var/www/html/template/footer.html"); ?>
- </div>
- <!-- end footer -->
- </body>
- </html>
- Anonymous
- Bot


- Inscription: 25 Feb 2008
- Messages: ?
- Loc: Ozzuland
- Status: Online
- aloof
- Newbie


- Inscription: Avr 03, 2004
- Messages: 14
- Loc: Oregon
- Status: Offline
Peu importe ce qui précède. Je fixe mon problème intelligemment.
Page 1 sur 1
Pour répondre à ce sujet, vous devez vous connecter ou vous enregistrer. Il est gratuit.
Afficher de l'information
- Total des messages de ce sujet: 2 messages
- Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 112 invités
- Vous ne pouvez pas poster de nouveaux sujets
- Vous ne pouvez pas répondre aux sujets
- Vous ne pouvez pas éditer vos messages
- Vous ne pouvez pas supprimer vos messages
- Vous ne pouvez pas joindre des fichiers