Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    624
    Thanks
    0
    Thanked 0 Times in 0 Posts

    NN4 needs different relative paths?

    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

                    &nbs p;       JavaScript.js
                    &nbs p;       NN4CSS.css
                    &nbs p;       MoreCSS.css...

                 folder2

                    &nbs p;       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;}

  • #2
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72į W. 48' 57" , 41į N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    624
    Thanks
    0
    Thanked 0 Times in 0 Posts
    OIC, thanks John.

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •