无法正常显示css设置,求解啊
这是我的设置:$config['base_url'] = 'http://localhost/my_blog/';这是我的代码<link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>style/basic.css" />
这是网页源文件的显示:<link rel="stylesheet" type="text/css" href="http://localhost/my_blog/style/basic.css" />
可是就是无法正常显示css设置,求解啊,各位大侠
呵呵,找到问题关键了。RewriteCond $1 !^(index.php|images|css|scripts|robots.txt)原来括号中的是文件夹的名字,而不是文件后缀名。因为我一般喜欢吧.css放在style文件夹中,所以才会出错
页:
[1]