Forums

This topic is locked

Document relative link - 2 out of 4 browsers

Posted 09 Mar 2007 04:18:19
1
has voted
09 Mar 2007 04:18:19 Nancy Renfree posted:
<font face='Comic Sans MS'>I have a page that shows a PNG image. The file pathway is dynamically created and relative to the document. When I preview the page in Safari or Opera, the image shows. When I preview the page in Firefox or Explorer, the "alt" text appears. I looked at the generated source code in Firefox and Explorer and the same path appears in both.

<pre id=code><font face=courier size=2 id=code> &lt;img src="dbPics\jester.png" alt="picture" /&gt; </font id=code></pre id=code>

Any ideas?

Thank you for your help,

Nancy</font id='Comic Sans MS'>

Replies

Replied 09 Mar 2007 15:43:00
09 Mar 2007 15:43:00 Lee Diggins replied:
Hi Nancy

try:

&lt;img src="dbPics/jester.png" alt="picture" /&gt;

instead of:

&lt;img src="dbPics\jester.png" alt="picture" /&gt;

Sharing Knowledge Saves Valuable Time!!!
~ ~ ~ ~ ~ ~
<b>Lee Diggins</b> - <i>DMXzone Manager</i>
<font size="1">[ Studio MX/MX2004 | ASP -> VBScript/PerlScript/JavaScript | SQL | CSS ]</font>
Replied 09 Mar 2007 20:27:28
09 Mar 2007 20:27:28 Nancy Renfree replied:
<font face='Comic Sans MS'><font color=blue>Gee Whiz do I feel silly!

Thank you SO much Lee. That did the trick.


Nancy</font id=blue></font id='Comic Sans MS'>

Reply to this topic