Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jQuery UI未链接到我的页面(透明背景)_Jquery_Jquery Ui_Codeigniter_Background_Datepicker - Fatal编程技术网

jQuery UI未链接到我的页面(透明背景)

jQuery UI未链接到我的页面(透明背景),jquery,jquery-ui,codeigniter,background,datepicker,Jquery,Jquery Ui,Codeigniter,Background,Datepicker,我第一次使用jQuery是因为我想使用datepicker。 我的日期选择器工作正常,但背景是透明的。 我已经下载了ui轻量级主题,并试图将其包含在php页面中。 代码如下: <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/java

我第一次使用jQuery是因为我想使用datepicker。 我的日期选择器工作正常,但背景是透明的。 我已经下载了ui轻量级主题,并试图将其包含在php页面中。 代码如下:

<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js"></script>
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.21.custom.css" rel="stylesheet" />
</head>

我的目录结构如下:
alpha-css
阿尔法——用户界面亮度
---jquery-ui-1.8.21.custom.css
-myPhpPage.php


我的问题是,为什么我的css文件没有链接到我的php页面?

我现在可以使用了。
我将
css
移动到我的
应用程序
文件夹上方的一个目录中。
源代码仍然是:
是的,我正在使用CodeIgniter。我不认为这会有太大的不同。它会有不同,把css文件夹放在应用程序文件夹上,然后尝试
我完全按照你的建议尝试了,背景仍然是透明的。php页面的源代码是:
http://127.0.0.1/css/ui-lightness/jquery-ui-1.8.21.custom.css
您是否修改了php config.php文件?请阅读@undefined:config.php文件中我只更改了一件事:
$config['base\u url']='http://127.0.0.1/';。我阅读了你发布的链接,但找不到这些配置。我试图打开.htaccess文件,但它只读取了
Deny from all