嗨,我在 codeigniter 中有这样的问题。我无法使用 .css 文件的样式。但我知道这个过滤器与我的观点有关。(萤火虫)。这是我的连接链接:
`<link rel="stylesheet" href="images/Enlighten.css" type="text/css" />`
目录中的css文件/images/Enlighten.css
这是我的 htaccess 文件:
Options +FollowSymLinks
Options -Indexes
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|template|robots\.txt|public|)
RewriteCond %{REQUEST_URI} !\.(css¦js¦jpg¦gif)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L,QSA]
我认为我的错误在这个文件中。(我不处理这个文件:(()
PS Everywhere 当我使用来自 Enlighten.css 的样式时,文本打印为“??????????”