ik heb een probleem met mijn layout. het werkt goed in fire fox maar niet in intrnet explorer. de pagina die hij erbij inlaad (home.php) zet hij midden op de pagina neer (na statistieken in dat menu). iemand die kan helpen
index.php:

<?
ob_start();
if(isset($_GET["p"])){
	$page = stripslashes($_GET["p"]);
}
if(isset($_GET["page"])){
	$pagina = stripslashes($_GET["page"]);
}
else{
	$pagina = "";
}
?>
<html>
<head>
<title>site</title>
<link href="style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body {
	background-image: url(images/background.JPG);
}
-->
</style></head>

<body>
<div id='page'>
	<div id='header'><img src="images/banner.jpg"></div>
		<div id='text'>
			<div id='menu'>
			<div class="style3" style="background: url('images/menu.jpg'); width: 200px; height: 26px;">Hoofdmenu</div>
	<img src="images/pijl.gif"> <a href="?p=home">Home</a> <br>
	<img src="images/pijl.gif"> <a href="?p=nieuws">Nieuws</a> <br>
	<img src="images/pijl.gif"> <a href="forum/index.php">Forum</a><br>
	<img src="images/pijl.gif"> <a href="?p=contact">Contact</a><br>
	<img src="images/pijl.gif"> <a href="?p=zoeken">Zoeken</a><br>
	<div class="style3" style="background: url('images/menu.jpg'); width: 200px; height: 26px;">Leden</div>
    <img src="images/pijl.gif"> <a href="?p=aanmelden">Aanmelden</a><br>
	<img src="images/pijl.gif"> <a href="?p=login">Inloggen</a><br>
    <img src="images/pijl.gif"> <a href="?p=forgotpass">Wachtwoord vergeten</a><br>
    <img src="images/pijl.gif"> <a href="?p=ledenlijst">Ledenlijst</a><br>
	<div class="style3" style="background: url('images/menu.jpg'); width: 200px; height: 26px;">site</div>
    <img src="images/pijl.gif"> <a href="?p=test/">??</a><br>
	<img src="images/pijl.gif"> <a href="?p=test/">??</a><br>
    <img src="images/pijl.gif"> <a href="?p=forgotpass">Downloads</a><br>
<div class="style3" style="background: url('images/menu.jpg'); width: 200px; height: 26px;">Zoeken op het forum</div>
<br>
<form action="forum/search.php?mode=results" method="post" style="display: inline;">
			<input name="show_results" value="topics" type="hidden">
			<input name="search_keywords" class="post" size="12" type="text">
			<input value="Zoek" class="mainoption" type="submit">
</form>
	<br>
	<br>
	<div class="style3" style="background: url('images/menu.jpg'); width: 200px; height: 26px;">Poll</div>
	<?php include ("poll.php"); ?>	
	<br>
	<div class="style3" style="background: url('images/menu.jpg'); width: 200px; height: 26px;">Statistieken</div>
			</div>
			<div id='content'>
			<center>
<?
if(!isset($page)){
	$page = "home";
}
if(!file_exists($page.".php")){
	include("home.php");
}
else{
	include($page.".php");
}
?>
</center>
			</div>
		</div>
	</div>
</body>
</html>

home.php:
 <div style=" width: 590px ; top: 0px;border: 1px solid black;">
<div style="background: url('images/menubalk.jpg'); width: 590px; height: 26px; color: #FFFFFF; font-weight: bold;">
  <div align="center">Welkom</div>
</div>
Welkom
</div>
iemand die me kan helpen?

Reageren