2014-02-06 104 views
1

我從http://jqueryui.com/datepicker/下載了「Date Picker」,當我將CSS文件移動到我的項目文件夾後,圖標消失了。CSS日期選擇器圖標丟失

WEB-INF/view/templates/images 
WEB-INF/view/templates/datePickerCustomer1.css 

在CSS中:

.ui-widget-content 
{ 
    border: 1px solid #8e846b; 
    background: #feeebd url(images/ui-bg_highlight-soft_100_feeebd_1x100.png) 50% 
    top repeat-x; 
} 

我已經嘗試

background-image: url(images/ui-bg_highlight-soft_100_feeebd_1x100.png) & 
background-image: url('images/ui-bg_highlight-soft_100_feeebd_1x100.png') with quotes 

無那些不工作。

輸出圖像
The output image

正確的圖像來獲得
enter image description here

+0

試試'url(/images/ui-bg_highlight-soft_100_feeebd_1x100.png)' – Morpheus

+0

@Morpheus它不工作。無論我更改爲網址(../ images/xxx.png)還是網址(/images/xxx.png) – Phuu792

+0

「   」是否真的存在於您的CSS文件中? – putvande

回答

相關問題