Footer soll immer unter main sein

  • Themenstarter Themenstarter Merbi
  • Beginndatum Beginndatum
Status
Nicht offen für weitere Antworten.
M

Merbi

Hallo,

habe ein mini Problem.

Und zwar ist mein footer nicht unter main sondern dadrin.


Codeschnipsel index.php:

Code:
<div class="main">

	
	<div class="header">
	
		<img border="0" alt="Der Header" src="template/images/header.jpg" />	

	</div>
	
	
	<div class="nav">
             <div class="menue">
		

		<ul>	

		<li></li>

		<li><a href="index.php?id=home.php" title="Startseite">home</a></li>

		<li><a href="index.php?id=about.php" title="Über mich">about</a></li>

		<li><a href="index.php?id=gallery.php" title="Nen paar Bilder">gallery</a></li>

		<li><a href="index.php?id=video.php" title="Nen paar Videos">video</a></li>

		<li><a href="index.php?id=guestbook.php" title="Gästebuch">guestbook</a></li>

		<li><a href="index.php?id=projects.php" title="Projekte">projects</a></li>

		<li><a href="index.php?id=stuff.php" title="Material">stuff</a></li>

		<li><a href="index.php?id=contact.php" title="Schreib mir ne Mail">contact</a></li>

		</ul>

		</div>

		
	
        </div>

	<div class="content">

Inhalt
  
  		<br>
		<br>
  		<br>
		<br>  		
		<br>
		<br>

	</div>

	<div class="footer">
		<div class="statistic">

		statistic: 

		<?php include "template/statistic.php";?>
	
		</div>
	

	</div>


Codeschnipsel stylesheet.css:


Code:
body{
	background-color : #666666;
	font-size : 8pt;
	font-family : Lucida Sans Unicode, Verdana, Arial !important;
	color : #FFFFFF;
	margin : 0;
}

.header {
	margin-left: 100px;
	width : 658px;
	height : 137px;
}

a {
	color: #666666;
}
	
a:hover {
	color: #666666;
	background-color: #FFFFFF;
}
	
img { 
	border: 0px;
	background:#FFFFFF 
}


/* --- Navigation --- */


.menue li {
	margin-top : 0;
	margin-bottom : 0;
	margin-right : 0;
	margin-left : 4px !important;
	list-style-type : none;
	text-align : left !important;
	width : 160px !important;
	max-width : 160px !important;
	min-width : 160px !important;
	border-bottom: 1px solid #666666;
}

.menue ul {
	margin: 0;
	padding: 0;
}

.menue a {
	font: bold 11px Arial, Helvetica, sans-serif;
	color: #666666;
	line-height:16px;
	letter-spacing:0.1em;
	text-decoration: none;
	display:block;
	padding:8px 6px 10px 20px;
	background-color: #FFFFFF;
	}
	
.menue a:hover {
	color:#FFFFFF;
	background-color: #666666;
}

	
/* --- content stuff --- */


.main {
	background-color: #FFFFFF;
	color: #666666;
	min-height: 450px;
	margin-right: 50px;
	margin-left: 50px;
  	margin-top: 50px;
	min-width: 870px;
}

.main:after {
	content: ".";  
	display: block; 
	height: 0; 
	clear: both; 
	visibility:hidden;
}

/*  \*/
* html .main {
	height: 1%;
}
/*  */

.nav {
	position: relative;
	width: 164px;
	float:left;
}

.content {
	margin-left: 200px;
	min-width: 500px;	
}

.footer {
	height: 50px;
	background-color: #666666;
}

.underline {
	text-decoration: underline;
}

.insert {
	width: 238px;
}

.extras {
	position: absolute;
	top: 280px;
	margin-left: 400px;
}

.entry	{
	border-bottom: 1px solid #666666;
	width: 400px;
}

.forwarding {
	background-color : #666666;
	color: #FFFFFF;
	position : absolute;
	left : 30%;
	top : 50%;
	margin-left : -200px;
	margin-top : -75px;
	text-align : center;
}

.forwarding a {
	color:#FFFFFF;
	background-color: #666666;
}

.forwarding a:hover {
	color:#FFFFFF;
	background-color: #666666;
}

.statistic {
	background-color : #666666;
	color: #FFFFFF;
	position : absolute;
	right : 50%;
	height : 100%px;
	width : 100%px;
	text-align : center;
}

.about {
	position: absolute;
	top: 240px;
	margin-left: 300px;
}	

.about_2 {
	position: absolute;
	top: 500px;
	margin-left: 300px;
}



MFG Daniel:)
 
Status
Nicht offen für weitere Antworten.
Zurück