Do not load my css styles when calling for require another page

0

Hello friends I'm making a website, I have an index.php in which I call index.view.php that is in my Views folder with

now in index.view.php this is the entry obviously of my web and when I load on the server I get everything ok, until the header code I put it on another page header.php

                                

<!-- Bootstrap CSS -->
<title> Codigo Rhaegar</title>
</head>


<body>

  <header>
        <nav class="menu">
            <div class="container-menu">
                <div class="logo">
                    <div class="logo-name">
                        <img src="Imagenes/IconRhaegar.png" alt="">
                        <a href="#">Código Rhaegar</a>
                    </div>
                    <div class="icon-menu">
                        <a href="#" id="btn-menu" class="btn-menu"><span class="fas fa-bars"></span></a>
                    </div>
                </div>
            </div>
            <div class="menu-link">
                <ul>
                    <li><a href="">NOSOTROS</a></li>
                    <li><a href="">CURSOS</a></li>
                    <li><a href="">SISTEMAS</a></li>
                    <li><a href="">PROYECTOS</a></li>                    
                </ul>   
            </div>

        </nav>
        <hr>
</header> 

and to minimize code I call the header in index.view.php with

 
<section class="banner">
    <div class="bg-details">
        <div class="details">
            <h2>"Donde programar es un Arte"</h2>
            <h1>BIENVENIDO A CODIGO RHAEGAR</h1>
            <a href="Views/registrate.php">REGISTRATE</a>
        </div>
    </div>
</section>

...........................

In this same index.view.php I call for a link to my page register.php in which at the beginning to not put the header again I put the same header code that I had called in the index.view but when redirecting to that page I do not load the styles css and I do not understand what the problem is. In registrate.php

<?php
    require "header.php";
?>

I do not know what the error is, please help me, I hope you have understood me.

    
asked by Diego 06.06.2018 в 06:27
source

0 answers