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;}
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;}