PDA

View Full Version : Newbie problems!


doorknob
07-14-2003, 01:18 AM
This is how I linked to a different page from my homepage - <a href="file:///C:/htdocs/How to find us.html"> - when I uploaded my homepage the homepage can be seen by a chap who is running the server but he cannot link to any of the sub pages! This is a copy of what he emailed me :
"BUT whichever program you're using to create and manage the site is not keeping track of the links between all the various elements and pages correctly. I think you need to go back into the help files or tutorials (if you have them) to see how to set up the program to keep these links correct.

The problem is that all of your links are "absolute" rather than "relative". What that means is that when you are, for example, inserting a link to a picture or another page on the web site, you are linking to the file on your PC's disk drive, rather than where the file is relative to the page on which the link is being made.

So, I can see the first page of the website but I can't see any pictures or follow any links because they point to, e.g., file:///C:/htdocs/How%20to%20find%20us.html rather than How to find us.html."
Using 1st Page 2000 version 2.0 - Win 98se PC
Thanks in advance.

MikeParent
07-14-2003, 03:58 AM
To quote Alex Trebec (host of Jeopardy), responses must be phrased in the form of a question... :-)

What exactly do you need to know or need clarification on?

Your html program puts links in like c:\blah blah blah. That is on your pc's hard drive. Naturally no one in the world but you could see things that are on your hard drive.

doorknob
07-14-2003, 05:05 AM
Sorry...What I need to know is what is going wrong!? When I created the site on my pc I could link between every page. Now I have uploaded it to a server I cannot access my homepage on the www. To make matters even more confusing for me the person who is running the server has told me he can access the homepage but not any sub pages or pictures. He thinks the software I'm using isn't saving the pages correctly ( as you can read in my original post from a portion of the email I received from him).
Any ideas?
Thanks in advance.

DCElliott
07-14-2003, 05:26 AM
do a little websearch and learn about absolute and relative links.
Here are a couple I found:
http://catalyst.washington.edu/webbeats/relative.html
http://www.webdiner.com/webadv/begin/paths.htm <==GOOD!
<a href="http://216.180.255.90/developers/forum/about.htm">About me</a> is an absolute link. However, if the file about.htm is in the same directory as the linking html file, you can link relatively like: <a href="about.htm">About me</a>You should (almost) always use relative linking in your site for internal links.

DE

MikeParent
07-14-2003, 06:33 AM
Nice Link DC (the second one). DoorKnob that should help. Unfortunately this can be a difficult concept to explain in written, non-interactive form :-(

Another way to think of this is like giving directions.
Absolute directions would be like

Go to 234 Main street
Enter the front doors into the lobby
Turn Left
Walk past two doors
Turn right
Take the last door

Relative directions would go like this:
Starting from the lobby (note: no street address)
Turn Left
Walk past two doors
Turn right
Take the last door

Absolute directions work great... *assuming the person can actually get to 234 main street* (your PC)

Now if you had two identical buildings (ok, so this analogy is getting a little weird...). No matter which building the person is in, the relative directions still work, because they *relative* to where the person actually is. Does that make any sense or is this just more confusing.

doorknob
07-14-2003, 02:14 PM
Many thanks to all who helped, I've started to try and fix the paths!!...back to the drawing board.

Anime_Lover
07-22-2003, 11:32 AM
OH DE where were you when I was looking for these sites. Man it would of saved me taking classes and I love the cheat sheet. I will bookmark this site and pass it on. It sure has great info.


Oh Oh Oh before I forget and no I am not having a brain fart....I am getting ready to take the advance classes for CSS and I forgot what else. Do you have easy on the eyes and mind sites about CSS like the 2nd one above?


Thanks.
Debra

Anime_Lover
07-22-2003, 11:40 AM
I remember now meta tags and lists thats the other stuff I will be doing. I thought meta tags were the opening of the document. I thought the only play they go is the top which allows all browsers to view. Well maybe not. My brain hurts trying to memorize it all.

dreuby
07-23-2003, 07:15 AM
I remember when I thought that webmasters who had the current date on their site logged on and changed it every day! :D

grrttwgnr
07-26-2003, 09:44 PM
How do i make the background of the web page i'm trying to create a different color?........I'm so confused

sheva
07-27-2003, 05:40 AM
If you're just trying to change the colour of the background, and your using 1st page (if you're not why would you be here...)

Just click on (in the top menu bar... File, Edit, etc)

>format>Document Properties>

It's pretty simple form there.