Home  >  Article  >  Web Front-end  >  link css定位问题,非常简单_html/css_WEB-ITnose

link css定位问题,非常简单_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:44:301499browse

本帖最后由 guyuekkk11 于 2013-07-01 14:14:34 编辑

我有个页面login要link一个css文件,文件位置如下图所示:

我写的应该没错吧?我一加载网页就不显样式,我用firebug查了下,get css 失败(404 Not Found),这是为什么。。。

回复讨论(解决方案)

输入“网站地址/assets/default/css/style.css”,确定css文件已存在于服务器上
本地测试,可考虑使用相对路径

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn