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
    Jul 2006
    Posts
    171
    Thanks
    13
    Thanked 1 Time in 1 Post

    Relative addresses is FireFox and IE

    Hi,

    I usually code my sites using notepad but today I got lazy since I only had to delete one item.
    I was viewing this html page:
    <url>http://www.pmhca.org</url>
    on my desktop as a local page in firefox. Using the 'edit' function, I deleted a single entry, then saved the page and ftp'd it to the site. All of my relative addresses are now showing up as file paths to my desktop files when I view the uploaded page in IE.
    I resaved the local page with notepad, uploaded and still the addresses are showing on my machine as file paths in IE.

    What did I do and how can I fix it?

    Thanks,

    Andy

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Did you have the page to your desktop from the browser first? If so thats why it changed all the paths, so the images and such would point to the local copies.

    Do you just have the original page?
    OracleGuy

  • #3
    Regular Coder
    Join Date
    Jul 2006
    Posts
    171
    Thanks
    13
    Thanked 1 Time in 1 Post
    Hi Oracleguy,

    I checked to desktop file again and found that firefox had imbeded the following into the document head:

    <code><base href="file:///C:/Documents%20and%20Settings/Andrew/Desktop/PMHCA/index.htm"></code>.

    I deleted that statement and reloaded the page: problem gone.

    Thanks for your help. You made me look again at what I had already checked three times.

    Andy


  •  

    Posting Permissions

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