dongyun3897 2015-09-23 17:46
浏览 71

在xampp中的localhost上运行文件不包括引导程序文件

So I'm doing a project which uses bootstrap. I have my files in htdoc>DocumentRepository

<link rel ="stylesheet" href ="C:\xampp\htdocs\DocumentRepository\Bootstrap\bootstrap-3.3.5-dist\css\bootstrap.min.css">
    <link rel ="stylesheet" href ="C:\xampp\htdocs\DocumentRepository\Bootstrap\bootstrap-3.3.5-dist\css\bootstrap-theme.min.css">

But the problem is running it on localhost doesn't include any of the bootstrap. Please help me with this!

</div>
  • 写回答

4条回答 默认 最新

  • dongyu3712 2015-09-23 17:50
    关注

    As I guess it should be something like this in your page.

    <link rel ="stylesheet" href ="css/bootstrap.min.css" type="text/css">
    <link rel ="stylesheet" href ="css/bootstrap-theme.min.css" type="text/css">
    

    Keep all files extracted bootstrap file in CSS directory.

    You may also use CDN.

    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    
    <!-- Optional theme -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
    
    <!-- Latest compiled and minified JavaScript -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
    
    评论

报告相同问题?

悬赏问题

  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料