SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Feb 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Links don't work [was: Hi Everyone, I need a little help]

    I just received my book and have been slowly proceding through the pages. When I attempted to create the page with the links to all 3 pages, the links will not work. An error message pops up saying its unable to find file. Any suggestions on what I'm doing wrong?

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2008
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Seems like you have an invalid link, have it pointing to something not there.

    Example?

  3. #3
    SitePoint Wizard Blake Tallos's Avatar
    Join Date
    Jun 2008
    Location
    Cuyahoga Falls, Ohio.
    Posts
    1,511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code HTML4Strict:
    <a href="#"></a>
    Blake Tallos - Software Engineer for Sanctuary
    Software Studio, Inc. C# - Fanatic!
    http://www.sancsoft.com/


  4. #4
    SitePoint Enthusiast kabo0m's Avatar
    Join Date
    Jun 2005
    Location
    Canada
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cherri62 View Post
    I just received my book and have been slowly proceding through the pages. When I attempted to create the page with the links to all 3 pages, the links will not work. An error message pops up saying its unable to find file. Any suggestions on what I'm doing wrong?
    It depends on what your links are linking to. I have seen some people with links that say file:///C:/

    Of course that won't work. It must be like http://

    as in
    Code:
    <a href="http://mysite.com/mydir/index.html">My Site!!!</a>
    Make sure you do put in a name where I have put My Site!!! as if you put nothing there .. then there won't be anything for your visitors to click on.

    Also if you have the path wrong it won't work of course. But some people like those who had to move to a new domain might have their links like <a href=/mydir/index.html> instead of the beginning part starting with http:// but might have accidentally put in the path wrong. Doesn't mean they are noobs. Everyone makes mistakes.

    Also I noticed with my ISP the site I have doesn't allow php (sucks .. I have to host on my fiance's home computer because my ISP won't give me that??) so I have noticed some of my things don't work because of what file type isn't allowed.

    I know I am not the best at explaining but I thought since not a lot of replies are here that maybe this might help a little.

    I mean it is hard without knowing the code you are trying to use so we could even see for ourselves what it says.
    Last edited by kabo0m; Feb 21, 2009 at 18:17. Reason: Came back to edit once I had 10 posts! :)
    Self-Taught Web-Designer (just know HTML)
    Site #1: SA Half-Life Gaming
    Site #2: Kidney Disease Site

  5. #5
    CTO htmlguy's Avatar
    Join Date
    Feb 2005
    Location
    North Carolina
    Posts
    420
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're simply pointing to a null reference.

    <a href="htmlguy://heythere.zack"> won't go anywhere because it isn't there. It's a good sign though, because it shows that the links are working, you just don't have them going anywhere.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •