Hello,
I wonder that I specify a path of image folder in css file as below.
background: #FFF url(../images/bg.gif) repeat-x;
At my develop computer is no problem . BUT...
the images did not show once I deploy to production computer.... why ?
any expert please advice....
Natchaya..
Loading
Shen HengbinPosted Jan 12, 2012, 1:22 AM
For example .
Case A
--ImageFolder
--CssFolder
-- CssFile // here , you should write url(../ImageFolder/bg.gif)
Case B
--ImageFolder
-- CssFile // here , you should write url(ImageFolder/bg.gif)
Krishna GaradPosted Jan 12, 2012, 5:22 AM
We have accepted answer also. So please accept the answer.
Shen HengbinPosted Jan 12, 2012, 3:44 AM
you are good.
natchaya khamkunaPosted Jan 12, 2012, 2:59 AM
Thank you so much.
It's working.. case no. 2
Shen HengbinPosted Jan 12, 2012, 2:40 AM
I have read your source , but sorry that , i cannt excute it .
But from your source , you are in case B in my last post .
So you should to change your url(../images/bg.gif) to url(images/bg.gif)
natchaya khamkunaPosted Jan 12, 2012, 2:29 AM
doesn't work .
Attahced is my code..
Ajitender VijayPosted Jan 12, 2012, 12:39 AM
Check images folder location path is correct or not.
try this
background: #FFF url(/images/bg.gif) repeat-x;
or
background: #FFF url(images/bg.gif) repeat-x;
Thanks
Ajitender vijay