猿问

我的菜单的 Css 没有显示在我的 Html 页面上

我在我网站的主页上工作,突然菜单停止工作。Html 页面与菜单文件相关联,而该菜单文件与 Css 相关联。我不记得编辑与菜单有关的任何内容。有人可以帮忙吗?

这就是它现在 的样子:图像

菜单文件:

<ul class="menu">

  <li> <img src="images\cbr-logo.png" width=100> </li>

  <li><a href="index.php"> <span>Home</span></a></li>

  <li><a href="theorie.php"><span>Theorie</span></a></li>

  <li><a href="examen.php"><span>Examen</span></a></li>

  <li><a href="directie.php"><span>Directie</span></a></li>

  <li><a href="login.php"><span>Uitloggen</span></a></li>

</ul>

<br>

<br>

<hr>

html文件:


<?php 

    require 'core/init.php';

?>


<!DOCTYPE html>

<html>


  <head>

    <meta charset="utf-8">

    <link rel="stylesheet" type="text/css" href="css/style.css?V=01">

    <title>CBR Theorie examen </title>  

  </head>


  <body>    

    <div id="container">

      <?php

          echo '<div>';

          include 'includes/menu.php';

          echo '</div>';


      ?>


    <div id="containercontainer">


        <div id="titel">

            <h1 class="titel">Home</h1>

        </div>

<!-- de slideshow ======================================================== -->      

      <div id="slideshow">

            <div class="fling-minislide">

                <img src="images\slideshow1.jpg" alt="Slideshow 3" />

                <img src="images\slideshow2.jpg" alt="Slideshow 2" />

                <img src="images\slideshow3.jpg" alt="Slideshow 1" />

            </div>

      </div>


摇曳的蔷薇
浏览 124回答 1
1回答

海绵宝宝撒

您忘记在p.vragentext1中加上右括号替换你的代码p.vragentext1 {&nbsp; margin-left: 80px;&nbsp; margin-top: -10px;&nbsp; position: relative;&nbsp; margin-bottom: 20px;&nbsp; width: 100%;和p.vragentext1 {&nbsp; margin-left: 80px;&nbsp; margin-top: -10px;&nbsp; position: relative;&nbsp; margin-bottom: 20px;&nbsp; width: 100%;}
随时随地看视频慕课网APP
我要回答