Op de een of andere manier pakt hij de stylesheet niet. Had het eerst als HTML pagina en toen werkte het wel. Ziet iemand wat er fout is?
<?php
session_start();
include("connect.php");

echo "<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN";
echo "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>";;
echo "<html lang=en xmlns=http://www.w3.org/1999/xhtml>";;
echo "<head>
<title>De Lauwer - Stafsite</title>
<style type=text/css media=all>
@import css/raised.css
</style>
<link rel=alternate stylesheet type=text/css media=all title=no2 href=css/kielboot.css />
<link rel=alternate stylesheet type=text/css media=all title=no3 href=css/zwaardboot.css />
<link rel=alternate stylesheet type=text/css media=all title=no4 href=css/surf.css />
<link rel=alternate stylesheet type=text/css media=all title=no5 href=css/barenkeuken.css />
<link rel=alternate stylesheet type=text/css media=all title=no6 href=css/directie.css />
<link rel=alternate stylesheet type=text/css media=all title=no7 href=css/begeleiders.css />
<script type=text/javascript src=raised.js></script>
<meta http-equiv=Content-Type content=text/html charset=iso-8859-1 />
<meta http-equiv=imagetoolbar content=false />
</head>
<body onload=window.defaultStatus='stafsite.nl'>";
echo "<div id=wrapper>";
echo "<div id=header><!--logo in background--></div>";

echo "<!--content container-->";
echo "<div id=content>";
echo "<div id=menu>";
echo "<center><table border=0 width=680>
<tr>
<td bordercolor=#FFFFFF><a href=login.php tabindex=1 title=Home target=_parent>Home</a></td><td bordercolor=#FFFFFF><img src=images/streep.gif></td>
<td bordercolor=#FFFFFF><a href=fotoalbum.php tabindex=2 title=Foto's target=_parent>Foto's</a></td><td bordercolor=#FFFFFF><img src=images/streep.gif></td>
<td bordercolor=#FFFFFF><a href=wist.php?start=0&eind=15 tabindex=3 title=Wist je dat? target=_parent>Wist je dat?</a></td><td bordercolor=#FFFFFF><img src=images/streep.gif></td>
<td bordercolor=#FFFFFF><a href=agenda.php tabindex=4 title=Agenda target=_parent>Agenda</a></td><td bordercolor=#FFFFFF><img src=images/streep.gif></td>
<td bordercolor=#FFFFFF><a href=aantekeningen.php tabindex=5 title=Aantekeningen target=_parent>Download</a></td><td bordercolor=#FFFFFF><img src=images/streep.gif></td>
<td bordercolor=#FFFFFF><a href=phorum/list.php?f=1 tabindex=6 title=Forum target=_parent>Forum</a></td><td bordercolor=#FFFFFF><img src=images/streep.gif></td>
<td bordercolor=#FFFFFF><a href=profiel.php tabindex=7 title=Mijn profiel target=_parent>Mijn Profiel</a></td><td bordercolor=#FFFFFF><img src=images/streep.gif></td>
<td bordercolor=#FFFFFF><a href=profielen.php tabindex=8 title=Profielen target=_parent>Profielen</a></td><td bordercolor=#FFFFFF><img src=images/streep.gif></td>
<td bordercolor=#FFFFFF><a href=links.php tabindex=9 title=Links target=_parent>Links</a></td>
</tr></table></center></div><br>";
echo "<!--Begin Navigation Container-->
<table><tr><td></td><td><p class=titel> Stafsite</p></td></tr>
<tr><td width=150><center>Maak jouw keuze uit de verschillende styles:</center>";
echo "<ul>";
echo "<!--Begin Style Links-->";
echo "<div id=nav><center><ul>
<li class=navtop><a href=# tabindex=2 onclick=setActiveStyleSheet('default'); return false; onkeypress=setActiveStyleSheet('default'); return false; title=default>Standaard</a></li>
<li><a href=# tabindex=3 onclick=setActiveStyleSheet('no2'); return false; onkeypress=setActiveStyleSheet('no2'); return false; title=kielboot>Kielbootboot</a></li>
<li><a href=# tabindex=4 onclick=setActiveStyleSheet('no3'); return false; onkeypress=setActiveStyleSheet('no3'); return false; title=zwaardboot>Zwaardboot</a></li>
<li><a href=# tabindex=5 onclick=setActiveStyleSheet('no4'); return false; onkeypress=setActiveStyleSheet('no4'); return false; title=surf>Surf</a></li>
<li><a href=# tabindex=6 onclick=setActiveStyleSheet('no5'); return false; onkeypress=setActiveStyleSheet('no5'); return false; title=barenkeuken>Bar en Keuken</a></li>
<li><a href=# tabindex=7 onclick=setActiveStyleSheet('no6'); return false; onkeypress=setActiveStyleSheet('no6'); return false; title=begeleiders>Begeleiders</a></li>
<li><a href=# tabindex=8 onclick=setActiveStyleSheet('no7'); return false; onkeypress=setActiveStyleSheet('no7'); return false; title=directie>Directie</a></li>
<!--End Style Links-->
</ul><br><b>Google Ads???</b></center>
</div></td>";

echo "<td width=720>";
echo "</td></tr></table>";
echo "</div>";
echo "<div id=footer>";
echo "<p style=MARGIN: 0cm 0cm 0pt><center></center></p>";
echo "</div>";
echo "</body>";
echo "</html>"
?>
Probeer uw style scheet eens in boven uw php tags te zetten zonder echo "

Ik persoonlijk sla mijn css opmaak op in een apart bestand dat ik dan aanroep met <link rel="stylesheet" href="opmaak.css" type="text/css">
Dit is gewoon html in een echo. Waarom doe je dat zo?
midden in het bestand staat nog een deel php, vandaar.

en als ik het aanroepen bovenaan zet. Gaat hij flippen.
ik heb het al gefixed. Door
Eerst stukje php met <? ?> dan html en midden weer <? ?>

Reageren