At 02:23 PM 5/6/2005, victor NOAGBODJI wrote:
There is was this line:
background-image: url(../images/wrapback.png);
For some reason this line doesn't work in firefox so I've added a hack, and now everything is fine:
html>body {
background-image: url(./images/wrapback.png);
}


Can anyone explain the problem with "./" and "../" please?

There isn't really a problem. "./" means "current directory" and "../" means "parent directory. If your site is www.woogle.com, and the page that uses this style sheet is under /pages/ then "./images" means "www.woogle.com/pages/images" and "../images" means "www.woogle.com/images"


It's not a hack - it's just knowing where your images reside. :)


Erik Harris [EMAIL PROTECTED] AIM: KngFuJoe http://www.eHarrisHome.com ICQ: 2610172 Chinese-Indonesian Martial Arts Club http://www.kungfu-silat.com

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to