SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Nov 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    almost too basic of a question

    Looks like I'm a bit behind most of you but here goes anyhow: I'm building the example website outlined in the book 'build your own website the right way.....' and am stuck at the end of chapter 2. Yes that's right--still on chapter 2. When I attempt to link to the other two pages from my home page via Firefox, I'm told that Firefox can't find the files (about.html and contact.html). I've cut pasted, used the codes from the archive, gone over code, everything. I can open up all the pages individually, but not through index.html. Is this a Firefox problem? Same situation with IE.


    Any ideas?

    Thanks......

  2. #2
    SitePoint Wizard drhowarddrfine's Avatar
    Join Date
    Aug 2005
    Posts
    3,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is this a Firefox problem? Same situation with IE.
    Then it's not a Firefox problem. Without the code, we can't help.

    This is a problem with many people. They cut/paste code without understanding it and can't figure out why it doesn't work. Typically, it's because they forget most code interacts with other parts of the page and they aren't thinking of the other parts when they paste it in.

  3. #3
    SitePoint Member
    Join Date
    Nov 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Let me back up a bit. I originally typed in everything by hand knowing that this is the only way to learn ie: by repetition. I also realize that typing it in manually is often the only way to troubleshoot later on. I consulted the archives and pasted the examples only after I discovered the problem.

    Here's my code so far:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
      <title>Bubble Under - The diving club for the south-west UK</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body>
      <div id="header">
        <div id="sitebranding">
          <h1>BubbleUnder.com</h1>
        </div>
        <div id="tagline">
          <p>Diving club for the south-west UK - let's make a splash!</p>
        </div>
      </div> <!-- end of header div -->
      <div id="navigation">
        <ul>
          <li><a href="index.html">Home</a></li>
          <li><a href="about.html">About Us</a></li>
          <li><a href="contact.html">Contact Us</a></li>
        </ul>
      </div> <!-- end of navigation div -->
      <div id="bodycontent">
        <h2>Welcome to our super-dooper Scuba site</h2>
        <p><img src="divers-circle.jpg" width="200" height="162"
            alt="A circle of divers practice their skills" /></p>
        <p>Glad you could drop in and share some air with us! You've passed
            your underwater navigation skills and successfully found your way to
            the start point - or in this case, our home page.</p>
      </div> <!-- end of bodycontent div -->
      </body>
    </html>

  4. #4
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And if you don't mind me asking, why did you post this question in more than one board? (HTML board was the right place for it, btw)?

    http://www.sitepoint.com/forums/showthread.php?t=437179

    I'd seriously look into the responses on that thread for a solution. Also, what editor are you using to create the files with?


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
  •