Go Back   DN Lodge Webmaster Forums > Web Design and Development > Web Development Discussion


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-15-06, 05:37 AM
DNL Newbie
 
Join Date: Jul 2006
Posts: 1
DNL Trust: (0)
basil is a pretty decent person
Default Dreamweaver and relative path in template

I'm using Dreamweaver 8 to develop a site, and trying to devlop pages from a DW template (.dwt)

My problem is with relative links - when I set it up with a path that looks like
Code:
<img src="../images/header.jpg" width="760"
, it turns into
Code:
<img src="../../../../2006_weather_%20project/production/20060715/images/header.jpg" width="760"
when I create a page based on the template and then save it.

This happens too with library items - in the .dwt it looks like
Code:
<a class="nav" href="../forms.htm">Forms</a><br>
, but changes to
Code:
<a class="nav" href="../../../../forms.htm">Forms</a><br>
in the completed page.

I must have done something wrong - can anyone assist please?

BTW, a my directory looks like (see attachment).

Hope you can help, coz I'm getting a little frustrated with not being able to move on.
Attached Images
File Type: gif directory.gif (6.9 KB, 3 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Want to remove these ads? Register for your free account here.

  #2  
Old 07-15-06, 04:18 PM
jaswinder_rana's Avatar
DNL Professional
 
Join Date: Oct 2005
Location: Canada
Posts: 590
DNL Trust: (0)
Send a message via MSN to jaswinder_rana
jaswinder_rana is a pretty decent person
Default Re: Dreamweaver and relative path in template

It has this auto fix thing. Turn it off and ask it not to do it.

Make a site in dreamweave and make the directory where all the required directory and files are, root directory.


This is one of the many pains using Dreamweaver. I am not saying its not good, but its good only if you really know how to use it.

I trust UltraEdit (or any text editor) and do my own coding.
__________________
---------------------------
www.rattanpal.com
Get Firefox!

Last edited by jaswinder_rana; 07-15-06 at 04:19 PM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
dreamweaver, path, relative, template

« Heard of? | Flash 8 »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 05:29 PM.



Copyright © 2005-2009 DNLodge.com.
vBulletin, © 2000-2009, Jelsoft Enterprises Limited.
SEO by vBSEO.
Advertising |  About Us |  Contact Us |  RSS |  Privacy Policy |  Back to Top