Hoi,
Ik kom er maar niet uit.
Mijn layout wordt goed weergeven, maar zodra ik er 3 bestanden van maak, (top.inc.php,index.php,bottom.inc.php) wordt hij anders weergeven.
Voorbeeld:
http://bulletdeal.nl/smusic/test/
Als je geen fout ziet, ligt het aan je browser.
Dan is hier een voorbeeld hoe het er fout uit ziet.
http://upload-now.nl/upload/c79d001171/fout.png
EDIT:
Codes:
top.inc.php
PHP
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="style.css" rel="stylesheet" type="text/css" /></head>
<body>
<div id="container">
<!-- header -->
<div id="logo"><a href="#">WEBSITE NAME</a></div>
<div id="menu">
<a href="#">home</a>
<a href="#">about us</a>
<a href="#">services</a>
<a href="#">pricing</a>
<a href="#">contacts</a>
</div>
<!--end header -->
<!-- main -->
<div id="main">
<div id="sidebar">
<ul>
<li><a href="#">sidebar link 1</a></li>
<li><a href="#">sidebar link 2</a></li>
<li><a href="#">sidebar link 3</a></li>
<li><a href="#">sidebar link 4</a></li>
<li><a href="#">sidebar link 5</a></li>
</ul>
</div>
<div id="text" >
Toon Meer
index.php
bottom.inc.php
PHP
</div>
</div>
<!-- end main -->
<!-- footer -->
<div id="footer">
<div id="menu_footer"><a href="#">home</a> | <a href="#">about</a> | <a href="#">products</a> | <a href="#">services</a> | <a href="#">pricing</a> | <a href="#">contact</a> | <a href="#">sitemap</a> | <a href="#">testimonials</a> | <a href="#">etc.</a></div>
<div id="left_footer">© Copyright 2008 <strong>Your Website</strong></div>
<div id="right_footer">
<!-- Please do not change or delete this links. Read the license! Thanks. :-) -->
Design by <a href="http://www.realitysoftware.ca" title="Web Design"><strong>Reality Software</strong></a> & <a href="http://www.flashmp3player.org" title="Free Flash MP3 Player"><strong>Flash Music Player</strong></a>
</div>
</div>
<!-- end footer -->
</div>
</body>
</html>
Toon Meer
En hier het volledige script, hoe hij het wel doet:
PHP
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="style.css" rel="stylesheet" type="text/css" /></head>
<body>
<div id="container">
<!-- header -->
<div id="logo"><a href="#">WEBSITE NAME</a></div>
<div id="menu">
<a href="#">home</a>
<a href="#">about us</a>
<a href="#">services</a>
<a href="#">pricing</a>
<a href="#">contacts</a>
</div>
<!--end header -->
<!-- main -->
<div id="main">
<div id="sidebar">
<ul>
<li><a href="#">sidebar link 1</a></li>
<li><a href="#">sidebar link 2</a></li>
<li><a href="#">sidebar link 3</a></li>
<li><a href="#">sidebar link 4</a></li>
<li><a href="#">sidebar link 5</a></li>
</ul>
</div>
<div id="text" >
Hier de tekst...
</div>
</div>
<!-- end main -->
<!-- footer -->
<div id="footer">
<div id="menu_footer"><a href="#">home</a> | <a href="#">about</a> | <a href="#">products</a> | <a href="#">services</a> | <a href="#">pricing</a> | <a href="#">contact</a> | <a href="#">sitemap</a> | <a href="#">testimonials</a> | <a href="#">etc.</a></div>
<div id="left_footer">© Copyright 2008 <strong>Your Website</strong></div>
<div id="right_footer">
<!-- Please do not change or delete this links. Read the license! Thanks. :-) -->
Design by <a href="http://www.realitysoftware.ca" title="Web Design"><strong>Reality Software</strong></a> & <a href="http://www.flashmp3player.org" title="Free Flash MP3 Player"><strong>Flash Music Player</strong></a>
</div>
</div>
<!-- end footer -->
</div>
</body>
</html>
Toon Meer
Weten jullie hoe dit komen?
Alvast bedankt.