Dreamweaver problems drivin me crazy!

liunx

Guest
I was workin on my site as usual, until today I tried makin a new page from the template.. and the new page's code is all screwed up! All the image urls are assigned addresses like img src=http://www.htmlforums.com/archive/index.php/"file:///C|/Documents%20and%20Settings/All%20Users/Documents/WCO/images/logo1_r1_c1top.gif"<br />
I checked the template, and the addresses were fine..<br />
<br />
Why did it all of a sudden do this?!<br />
<br />
argh! thanks...<!--content-->Make sure you have defined the site properly (Site->Define Site), put "../" (without the quotes) in front of every src you have (including image and hyperlink tags) in your template, then refresh all documents linked to the template and save them...<br />
<br />
Example of source code in the template file:<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"../pics/spacer.gif" width="1" height="11" border="0"><br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"../news_3.htm"></a><br />
<br />
I have had similar problems and without further explanations, this should help..<!--content-->Thanks, Ill try it when I get home... however I dont remember but I did something like that, and the codes turned out something like "src=http://www.htmlforums.com/archive/index.php/"file://C:/images/log.gif" which is wierd because that directory never existed!<br />
<br />
When I insert an image should it be relative to the Document or Site Root?<!--content-->I've had that problem, Agentsmith. <br />
<br />
I found that if I disconnected the page from the template, everything worked fine.<br />
<br />
Peg<!--content-->Yes, but that defeats the purpose of having a template, I want to be able to update pages quickly...<!--content-->Ok, all the srcs in the template is right (with the "../" ), but when I create a new page from it, or update the curent files, the code is written as something like "file:///C:/graphics/banner2.jpg". This directory doesnt exist! <br />
<br />
This only just started happening yesterday, before everything was good. Any help is appreciated!! :(<!--content-->
 
Back
Top