Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我如何在一个页面中使用css样式而不使用其他页面?_Css - Fatal编程技术网

我如何在一个页面中使用css样式而不使用其他页面?

我如何在一个页面中使用css样式而不使用其他页面?,css,Css,我在一些页面中使用bootstrap,而在其他页面中不使用bootstrap,但是当我将两个或三个页面合并到一个页面中时,它会影响我自己设计的页面 <?php require_once('session.php'); confirm_logged_in(); ?> <? echo "je suis dans le gabarit admin"?> <?php include('header.php'); include('menu.php'); ?> &l

我在一些页面中使用bootstrap,而在其他页面中不使用bootstrap,但是当我将两个或三个页面合并到一个页面中时,它会影响我自己设计的页面

<?php 
require_once('session.php');
confirm_logged_in();
?>
<? echo "je suis dans le gabarit admin"?>
<?php 
include('header.php');
include('menu.php');
?>
<div class='content'>
<?php echo $content;  ?>
</div>

<?php

include('footer.php');
?>


这里是我的页面示例,我在列表中使用bootstrap,但其他页面不使用bootstrap,但当我重新加载页面时,它会更改一些我不会在页眉和菜单中更改的内容,将其添加到所需页面的末尾,而不是页眉中

<?php
require_once('session.php');

confirm_logged_in();

echo "je suis dans le gabarit admin";

include('header.php');
include('menu.php');
?>
<div class='content'>
    <?php echo $content; ?>
</div>
<!-- Add your custom stylesheet at the end of your desired page -->
<link rel="stylesheet" href="mycss.css" type="text/css" />
<?php
include('footer.php');
?>