【问题标题】:"bootstrap min css 1 failed to load resource: net::err_file_not_found"“bootstrap min css 1 加载资源失败:net::err_file_not_found”
【发布时间】:2020-06-08 02:44:44
【问题描述】:

我收到一个错误“bootstrap min css 1 failed to load resource: net::err_file_not_found” 当我尝试在我的代码中实现引导程序时,在我的控制台上。 我下载了 bootstrap 4.5 和 jquery 3.5.1。 bootstrap.min.css 文件保存在 css 文件夹中,但我无法理解错误在哪里。 它向我显示了这行代码中的错误 link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"

【问题讨论】:

  • 我能够解决这个问题。谢谢。
  • “我能够解决问题”。怎么样?

标签: html css twitter-bootstrap


【解决方案1】:

请提供有关您的文件夹结构的更多信息。如果该文件确实存在,您只是在写入路径时犯了一个小错误。例如: href="/css/bootstrap.min.css" 或 href="../css/bootstrap.min.css" 取决于文件的位置。只需右键单击文件并确保实际位置正确。 希望能帮助到你!祝你好运!

【讨论】:

    【解决方案2】:

    您可以使用以下链接。如果这可行,则说明您的本地路径存在问题。

    您可以使用我在下面提到的 CDN 链接而不是使用本地文件

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">```
    

    【讨论】:

      猜你喜欢
      • 2015-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-05-01
      • 2016-06-24
      • 2018-11-07
      • 2023-03-29
      相关资源
      最近更新 更多