footer via css
Verfasst: 30.05.2011, 12:32
Hallo ich möchte, dass meine footer.php immer ganz am Schluss der Seite ist.
folgendes ist in meiner index.php
<div id="header"> <php include('header.php');?></div>
<div id="content">
<?php
if (empty($p)) $p=1;
if ($p==1) include('1.php');
if ($p==2) include('2.php');
?>
</div>
<div id="footer"><php include('footer.php');?></div>
</body>
und hier noch der css code:
}
#footer{
clear: both;
height: 50px;
left: 130px;
width: 600px;
background-color: #333;
text-align: left;
padding: 20px;
Es wird einfach nicht so angezeigt...
was ist falsch?
folgendes ist in meiner index.php
<div id="header"> <php include('header.php');?></div>
<div id="content">
<?php
if (empty($p)) $p=1;
if ($p==1) include('1.php');
if ($p==2) include('2.php');
?>
</div>
<div id="footer"><php include('footer.php');?></div>
</body>
und hier noch der css code:
}
#footer{
clear: both;
height: 50px;
left: 130px;
width: 600px;
background-color: #333;
text-align: left;
padding: 20px;
Es wird einfach nicht so angezeigt...
was ist falsch?