WIth your site configuration, I think you could just use background- image: url(/img/blah.jpg);
Since /img/ is right off the root. But FWIW, both two dots and one dot work the same for me in both IE and the others...One dot being the directory immediately above where the .css file is kept, and two dots being two directories above. I hope I got that right. -- John On Apr 13, 2006, at 12:22 PM, z e n wrote: > Hi there, I've got another stupid newbie question for you. The > trick is to put picture into "div" section, > > background-image: url(../img/header.jpg); > > and here is the question - It works OK (with current definition of > url for image using two dots) under IE6 and Opera 9 but when it > comes to Mozilla FF 1.5 my image doesn't want to display. If I > change url in the following way: > > background-image: url(./img/header.jpg); > > (notice one dot instead of two) the image is displaying in Mozilla > but now it doesn't want to display in Opera and IE. One way to > solve the problem is to provide full url path: > > background-image: url(http://www.mywebsite.com/img/header.jpg); > > But I'm asking if there is more elegant way of solving the problem > so that the image would display in Opera and IE and Mozilla. > > Thanx in advice, I would really appreciate your help. > > > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 > List wiki/FAQ -- http://css-discuss.incutio.com/ > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/