www.webdeveloper.com
Results 1 to 3 of 3

Thread: Navigation bar problems

  1. #1
    Join Date
    Jan 2011
    Posts
    3

    Navigation bar problems

    Hello Peeps,

    I have a problem that may or may not be with my html on my new site. My navigation bar has no funtionality in "preview for web" in IE or Firefox. When I click the links on nav bar, nothing happens. I am submitting the html below:

    <div id="topnav">
    <ul id="list-nav">
    <li><a href="#">Home</a></li>
    <li><a href="#">Birthday</a></li>
    <li><a href="#">Anniversary</a></li>
    <li><a href="#">For Her</a></li>
    <li><a href="#">For Him</a></li>
    <li><a href="#">For Mom</a></li>
    <li><a href="#">For Dad</a></li>
    <li><a href="#">Just Because</a></li>
    <li><a href="#">Making Up</a></li>
    </ul>
    </div>

    Can anyone see what my problem may be.

  2. #2
    Join Date
    Mar 2007
    Posts
    946
    That is because you have # in your href="#". It needs to be set to where you want it to go like <a href="test.html">Test Page</a>
    "Hippies.They're everywhere. They wanna save the earth, but all they do is smoke pot and smell bad."-Cartman

  3. #3
    Join Date
    Jan 2011
    Posts
    3
    Skywalker,

    I went in and made that change and now when I preveiw in browser, I get a can not display page message. Below is what it looks like:

    <div id="topnav">
    <ul id="list-nav">
    <li><a href="index.html">Home</a></li>
    <li><a href="birthday.html">Birthday</a></li>
    <li><a href="anniversary.html">Anniversary</a></li>
    <li><a href="forher.html">For Her</a></li>
    <li><a href="forhim.html">For Him</a></li>
    <li><a href="formom">For Mom</a></li>
    <li><a href="fordad.html">For Dad</a></li>
    <li><a href="justbecause">Just Because</a></li>
    <li><a href="makingup">Making Up</a></li>
    </ul>
    </div>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles