So I am building my website....basically done and now Dreamweaver decides it doesnt want to cooperate and link to what its supposed to. All of the subpages are saved in my docs folder and for some reason dreamweaver doesnt like when i save them as docs/sitename.html. It was working fine before, but now UGH!
After I re-link all the pages ( have dragged the navigator, typed in the information, and clicked on the folder to show dreamweaver how to find the file) when i go to preview the site, it tels me they can't find the page.
Select a link. Down in the properties palette, look in the link box. Does the link begin with "file://"? It should be docs/linkme.html, not file:///...doc/linkme.html
Sometimes when I link it shows up as docs/ and other times, not so much. I have been reading through the HTML code to make sure there is no glitch and it seems fine to me. So I don't know what is going on.
I can see the problem more now. All of the links are correctly "linked" but when my browser looks for the file for some reason it is coming up as docs/docs/ in the URL. If I delete one of the docs/ the page shows up correctly. But i dont know how to fix this problem because that is not how I am linking my pages via dreamweaver
I've tried that and they show up normal in the HTML code as well as in the bottom properties bar as the link. I even went into the html code and typed the link as docs/.
At other times it shows up as ../aboutus.html etc. Ah! Everything was working fine until about midnight last night.
Remember that these are *relative* links. It's not always going to be docs/aboutus.html. If the linking file is in the same folder as the linked-to file, there will be no docs/. It'll just be aboutus.html. If the linking file is in a different folder from the linked-to file, it'll be ../docs/aboutus.html.
OK WOW! I am slightly slow. I get it all now, the sub-pages do not need docs/ because they are located within the same folder. However for the Index page i do need docs/ to link to the sub-pages. I think i wasted about 2 hours trying to figure out this link glitch. Well now I have learned....the hard way.
Sorry, I couldn't figure out how to start my own one of these comments....but I have had a little problem. Does anyone know how I can make a divtag, specifically my leftnav and right rail, trail all the way down to the end of the text on a page. For my how to and my individual story, they only go down so far, and there is just text in the center box that follows
For the divtag question, you should make sure that you have assigned a height to the leftnav or rightrail id in the css pallet. If you are on "auto" height instead an actual px number, the div will only go as far down as the content you have in it. You may be able to add in spaces, but then it gets confusing if you take the layout and apply it to different pages.
You don't have permission to comment on this page.
J202 students who wish to be added as authors should e-mail me. Others not registered for the class are welcome to use the entries in this knowledge base but may not submit questions here or via e-mail. Thanks!
Comments (12)
Jessica Jordani said
at 1:43 am on Nov 13, 2009
So I am building my website....basically done and now Dreamweaver decides it doesnt want to cooperate and link to what its supposed to. All of the subpages are saved in my docs folder and for some reason dreamweaver doesnt like when i save them as docs/sitename.html. It was working fine before, but now UGH!
Kathleen Culver said
at 6:17 am on Nov 13, 2009
What do you mean by "doesn't like"? What specifically is going wrong?
Jessica Jordani said
at 10:01 am on Nov 13, 2009
After I re-link all the pages ( have dragged the navigator, typed in the information, and clicked on the folder to show dreamweaver how to find the file) when i go to preview the site, it tels me they can't find the page.
Kathleen Culver said
at 10:04 am on Nov 13, 2009
Select a link. Down in the properties palette, look in the link box. Does the link begin with "file://"? It should be docs/linkme.html, not file:///...doc/linkme.html
Jessica Jordani said
at 10:05 am on Nov 13, 2009
Sometimes when I link it shows up as docs/ and other times, not so much. I have been reading through the HTML code to make sure there is no glitch and it seems fine to me. So I don't know what is going on.
Jessica Jordani said
at 12:25 pm on Nov 13, 2009
I can see the problem more now. All of the links are correctly "linked" but when my browser looks for the file for some reason it is coming up as docs/docs/ in the URL. If I delete one of the docs/ the page shows up correctly. But i dont know how to fix this problem because that is not how I am linking my pages via dreamweaver
Kathleen Culver said
at 2:55 pm on Nov 13, 2009
Just change the links back in the Dreamweaver file.
Jessica Jordani said
at 3:37 pm on Nov 13, 2009
I've tried that and they show up normal in the HTML code as well as in the bottom properties bar as the link. I even went into the html code and typed the link as docs/.
At other times it shows up as ../aboutus.html etc. Ah! Everything was working fine until about midnight last night.
Kathleen Culver said
at 3:59 pm on Nov 13, 2009
Remember that these are *relative* links. It's not always going to be docs/aboutus.html. If the linking file is in the same folder as the linked-to file, there will be no docs/. It'll just be aboutus.html. If the linking file is in a different folder from the linked-to file, it'll be ../docs/aboutus.html.
Jessica Jordani said
at 4:20 pm on Nov 13, 2009
OK WOW! I am slightly slow. I get it all now, the sub-pages do not need docs/ because they are located within the same folder. However for the Index page i do need docs/ to link to the sub-pages. I think i wasted about 2 hours trying to figure out this link glitch. Well now I have learned....the hard way.
schneier@wisc.edu said
at 4:22 pm on Nov 13, 2009
Sorry, I couldn't figure out how to start my own one of these comments....but I have had a little problem. Does anyone know how I can make a divtag, specifically my leftnav and right rail, trail all the way down to the end of the text on a page. For my how to and my individual story, they only go down so far, and there is just text in the center box that follows
Zack Zaban said
at 5:16 pm on Nov 13, 2009
For the divtag question, you should make sure that you have assigned a height to the leftnav or rightrail id in the css pallet. If you are on "auto" height instead an actual px number, the div will only go as far down as the content you have in it. You may be able to add in spaces, but then it gets confusing if you take the layout and apply it to different pages.
You don't have permission to comment on this page.