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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie question - linking pages/graphics on new page

Status
Not open for further replies.

Ngolem

Programmer
Aug 23, 2001
2,724
CA
I am just starting to use Dreamweaver 4 and have puzzled out most of the table problems now and finished on page of a site.

I have created a second page and created a link between the two pages from page 1 to 2 and a reverse link from page 2 to page 1

My links are document relative paths

When I preview each page individually there is no problem. The Text and the Graphic images are as expected

But when I run page 1 and link to page 2....the Text appears to be fine....but there are blank spaces where the graphics should be....

If I try to return to the original page...I get a "cannot display Page error"

this is my link on Page 1

<a href=&quot;/MWIT_FLD_News.htm&quot;>News</a>

this is my return link from Page 2

<a href=&quot;/MWIT_FLD_MainPage.htm&quot;>Home</a>

And this is my Image link in Page 2

<img src=&quot;Images/Mahidol01.gif&quot; width=&quot;113&quot; height=&quot;107&quot; align=&quot;absmiddle&quot;>

Any help you can give is appreciated

Jim Broadbent Jim Broadbent
 
I should point out that I am linking between pages using a Text link.

My relative links don't seem too relative {sigh} Jim Broadbent
 
check to mae sure cases are correct

A.htm is different from a.htm

also drop the &quot;/&quot; [Hammer]
Nike Failed Slogans -- &quot;Just Don't Do It!&quot;
 
yea, these lovely things are case sensitive. Also make sure your links are .htm not .html, that makes a difference also.
 
Actually through trial and error...I think I have found my problem


to make the references relative I used

<a href=&quot;./MWIT_FLD_News.htm&quot;>News</a>

The critical change was the &quot;./&quot; (the decimal point before the backslash) if I wanted to backup one level in the hierarchy I just use &quot;../&quot;

When I do this for both image and page references I seem to have no problem.

I am not on a webserver yet as I am just developing this on a local PC....but when I copy the directory and subdirectories to another location...the pages/images work fine.

Your points about case sensitivity are well taken and I will consider this in future.
Jim Broadbent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top