On Friday 2005-05-06 18:00 -0000, victor NOAGBODJI wrote: > http://membres.lycos.fr/pixelstorage/template.html > > This page works well in IE (the background image repeats) but not in Firefox.
On Friday 2005-05-06 18:23 -0000, victor NOAGBODJI wrote: > I have modified the original file so that you can view it online (the > stylesheets weren't embedded) But watch out if you don't, since you have: # <link rel="stylesheet" type="text/css" media="screen" href="styles\screen.css" /> IE/Windows automagically converts the "\" in the URL to a "/", but at least some other browsers don't. > 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? For a page at http://membres.lycos.fr/pixelstorage/template.html , the first relative URL resolves to: http://membres.lycos.fr/images/wrapback.png and the second resolves to: http://membres.lycos.fr/pixelstorage/images/wrapback.png I'm surprised that that differs across browsers. -David -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, The Mozilla Foundation
pgpWQsraNZB73.pgp
Description: PGP signature
______________________________________________________________________ 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/