content loop door footer

Status
Niet open voor verdere reacties.

savant11

Gebruiker
Lid geworden
7 jan 2008
Berichten
153
Hoi ,

heb dit:

Code:
html,body
{
	margin:0;
	padding:0;

}

.hidden {
	display: none;
}

#page-container {
	width: 1024px;
	margin:auto	
}

#main-nav {
	
	height: 10px;
}

#header{
	
	height: 340px;
	width: 800px;
	background-image:url(images/anas2.jpg);
 	margin-left: auto ;
  	margin-right: auto ;

}

#navigatie{
	
	height:31px;
	width:798px;
	border:solid 1px #cf7200;
	background-image:url(images/bg_navigation.png);
 	margin-left: auto ;
  	margin-right: auto ;
	
}



#content{
	
	height:304px;
	width:798px;
	border:solid 1px #d21a3d;
 	margin-left: auto ;
  	margin-right: auto ;


}

#content .padding {
	padding: 25px;
}

#footer{
	
	clear:both;
	height:40px;
	width:798px;
	border:solid 1px #1f54bc;
	font-family: Tahoma, Arial, Helvetica, Sans-serif;
	font-size: 10px;
	border-top: 1px solid #efefef;
	background-image:url(images/bg_footer.png);	
	margin-left: auto ;
  	margin-right: auto ;
	

}

#footer a {
	color: #c9c9c9;
	text-decoration: none;
}

#footer a:hover {
	color: #db6d16;
}

#footer #altnav {
	width: 350px;
	float: right;
	text-align: right;
}

#sidebar-a {
	float: right;
	width: 280px;
	line-height: 18px;
}

#sidebar-a .padding {
	padding: 25px;
}

h1 {
	margin: 0;
	padding: 0;
	float: right;
	margin-top: 57px;
	padding-right: 31px;

}

#content h2 {
	margin: 0;
	padding: 0;
	padding-bottom: 15px;

}

#content p {
	margin: 0;
	padding: 0;
	padding-bottom: 15px;

}
	

td
{
	font-family:"Times New Roman", Times, serif;
}

Maar de content loopt nog steeds door de footer.

Hoe dit te solven?

Alvast bedankt!
 
Aan de css is dat zo niet te zien. Heb je de html ook? Of beter nog: 'n link waar het online staat, want dat werkt veel makkelijker.
 
HOi,

hierbij de HTML(index.htm) file.

Ik heb er nog niet een template van gemaakt

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test site</title>
</head>

<body>
<div id="page-container">
<div id="header"></div>
<div id="navigatie">
<table>
<tr>
<td><a href = "index.html"/> домой</a></td>
<td><a href = "programma.html"/>программы</a></td>
<td><a href="about.html"/>обо мне</a></td>
<td><a href = "contact.html"/>контакт</a></td>
</tr>
</table> 
</div>
<div id="content"><h2>About</h2>
	<p><strong>Enlighten Designs</strong> is an Internet solutions provider that specialises in 
	   front and backend development. To view some of the web sites we have created view our 
	   portfolio.</p>

If you will insist on writing a database to an XML file look here.

Don't worry - you don't need a copy of Access on the machine. W2K and XP both come with the necessary drivers to access databases like this. And they're dead easy to use with OleDbConnection. Once you've got over the intial hurdle of a connection string (just add the .mdb to the server explorer, go to properties on the connection and the IDE will give you that) you'll begin to wonder why there's such a fuss about them. I did. They're really simple.

If you will insist on writing a database to an XML file look here.



</div>
<div id="footer"></div>

</body>

</html>
 
div#content heeft 'n hoogte. Dus zodra de inhoud niet meer in div#content past, komt die gewoon daaronder te staan. En daar staat de footer. Als je de hoogte weghaalt bij div#content, schuift de footer gewoon mee naar onder.

Het kan trouwens geen kwaad je pagina door de validator te halen op
http://validator.w3.org/
Die vindt 'n hele serie fouten.
<a mag je niet afsluiten met 'n />, ook niet in xhtml
Er mist 'n </div> voor de </body>
 
Hoi goeroe,

THX!!

Heb de hoogte weg gehaald.

Zo ie zo gebruik ik geen frontPage, that Sucks.

Ik gebruik: Zendstudio.

Maar heb je ook verstand van XNA(C#)?
 
Laatst bewerkt:
Status
Niet open voor verdere reacties.

Nieuwste berichten

Terug
Bovenaan Onderaan