Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forward slash in front of image src address

Status
Not open for further replies.

Streetdaddy

Programmer
Jun 10, 1999
161
AU
In the html code, all the images and other things always have a forward slash before them.<br>
<br>
eg &lt;image src="/image.gif"&gt;<br>
<br>
I have to delete all the slashes myself or else the image links are broken whenI post the page on my site?<br>
<br>
It happens with everything, url's, swf's, anything which is a file...<br>
<br>
How can I stop it prefixing them with the slash?<br>
<br>
(Ted Bundy was having this problem too)
 
You can either review the help file (as I indicated in a previous post) to make sure you are using relative references and the associated server preferences correctly. If you did not mean to use relative references, tell DW not to use them. For clarification, let me say that the &quot;/image.gif&quot; link you mention is equivalent to &quot;<A HREF=" TARGET="_new"> &quot;Relative&quot; means relative to the location in the server's directory structure of your index.html file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top