Php 链接CSS样式表不起作用
我的PHP文件的头部有两个CSS链接Php 链接CSS样式表不起作用,php,html,css,Php,Html,Css,我的PHP文件的头部有两个CSS链接 <link rel="stylesheet" type="text/css" href="../styles/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="../styles/style.css"> 第一个(引导)是有效的。第二个没有。他们都在同一条道路上。我反复检查了第二个单词是否拼写正确。我该怎么办 检查文件在网站文件夹结构中
<link rel="stylesheet" type="text/css" href="../styles/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../styles/style.css">
第一个(引导)是有效的。第二个没有。他们都在同一条道路上。我反复检查了第二个单词是否拼写正确。我该怎么办
检查文件在网站文件夹结构中的位置。
<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
css is located in the same folder as the current page
<link rel="stylesheet" type="text/css" href="styles/bootstrap.min.css">
css is located in the styles folder in the current folder
<link rel="stylesheet" type="text/css" href="/styles/bootstrap.min.css">
css is located in the styles folder at the root of the current web
<link rel="stylesheet" type="text/css" href="../styles/bootstrap.min.css">
css is located in the folder one level up from the current folder
css与当前页面位于同一文件夹中
css位于当前文件夹的“样式”文件夹中
css位于当前web根目录下的styles文件夹中
css位于比当前文件夹高一级的文件夹中
在cssclear cache上显示文件结构可能使用浏览器中的查看页面源代码
选项…检查该css文件的路径也检查第二个文件是否有错误检查时没有任何错误