PDA

View Full Version : NN4 needs different relative paths?


Graeme Hackston
08-07-2002, 12:33 AM
This isn’t a problem now that I’ve stumbled on an answer but I was wondering if anyone could explain this. Is there a difference in how different browsers interpret relative paths or do I have my folders in a knot?

This is the folder arrangement:

page.html

              folder1

                        JavaScript.js
                        NN4CSS.css
                        MoreCSS.css...

             folder2

                        BGD.gif


The JavaScript file links to the CSS files. Images are called from the CSS of IE5 NN6 and Opera like this:

{background: #000000 url("../folder2/BGD.gif"); background-repeat: repeat-y;}

NN4 only works like this. Both on and offline.

{background: #000000 url("folder2/BGD.gif"); background-repeat: repeat-y;}

joh6nn
08-07-2002, 04:04 AM
take a look at this:

http://www.xs4all.nl/~ppk/js/jsbi/index.html

Graeme Hackston
08-07-2002, 04:31 AM
OIC, thanks John.

Nice to see this is (almost) no longer an inconsistency.