Relative Paths issue in Dreamweaver

RWBRWB Icrontian
edited August 2005 in Science & Tech
Everytime I make a path in Dreamweaver it wants to turn it into an absolute path and it's driving me nuts, I dunno when this started or what I did to do this.

For exmaple linking to my css sheet in the site I am working on now does this....

[PHP] <link href="file:///C|/Documents%20and%20Settings/Drago/My%20Documents/Fusion/website/scripts/site.css" rel="stylesheet" type="text/css" /> [/PHP]

How do I make it so that it does relative paths instead?

Comments

  • ShortyShorty Manchester, UK Icrontian
    edited August 2005
    The moment you create a new HTML file in Dreamweaver, save it before adding content :)

    Then make sure your other folders (images, CSS etc..) are all above it :)
  • TheBaronTheBaron Austin, TX
    edited August 2005
    or just go through and manually fix all those absolute paths
  • ShortyShorty Manchester, UK Icrontian
    edited August 2005
    TheBaron wrote:
    or just go through and manually fix all those absolute paths
    Nice and easy with 100+ paths ;D:p
  • TheBaronTheBaron Austin, TX
    edited August 2005
    open it in notepad, find-replace
  • ShortyShorty Manchester, UK Icrontian
    edited August 2005
    TheBaron wrote:
    open it in notepad, find-replace
    Alot of effort ;)
  • JonseyJonsey Microsoft Corporation
    edited August 2005
    Get a copy of Cygwin installed, pop the file open in VI, run this from the esc-line: s/`file:///C|/Documents%20and%20Settings/Drago/My%20Documents/Fusion/website`/``/g

    Not overly helpful, but it might help convince you to move over to Linux eventually :p
Sign In or Register to comment.