iwillieyou iwillieyou - 6 months ago 11
CSS Question

not applied css when switching the dynamic content

on my website http://quersteil.eu/ when the content switches to impressum once you click on it, it doesnt apply my css style, cant seem to find the problem. HTML-code: seen with ctrl + u on website!


<?php include ("$website_pages/navbar.html");?>
<div id="content">
<?php
if ($_GET ['page'] == "impressum1") {
include ("$website_pages/impressum1.html");
} else {
include ("$website_pages/home.html");
}
?>
<div id="impressum">
<a href="index.php/?page=impressum1">Impressum</a>
</div>
</div>



Answer

I think you have to remove the / in your link. You have relative paths that were affected by the /

http://quersteil.eu/index.php?page=impressum1
Comments