gpt4 book ai didi

css - Bootstrap 文件未在 php 文件中被访问

转载 作者:行者123 更新时间:2023-11-28 02:09:17 26 4
gpt4 key购买 nike

我的 bootstrap css 文件位于

C:\Users\SCEA\Downloads\bootstrap-3.3.7\css

为了将此链接到我的 php 文件,我给出了绝对路径:

<link href="C:\Users\SCEA\Downloads\bootstrap-3.3.7\css" rel="stylesheet">

但是看不到css的效果,是不是我的css文件链接不上?

最佳答案

您可能在 css 之前有错字。前面的反斜杠可能需要是句点。

<link href="C:\Users\SCEA\Downloads\bootstrap-3.3.7.css" rel="stylesheet">

如果在本地计算机上运行服务器,我建议将此文件移动到服务器文档根目录中。

关于css - Bootstrap 文件未在 php 文件中被访问,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48848178/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com