Skip to main content
Participant
March 12, 2017
Answered

Links to other pages won't work

  • March 12, 2017
  • 3 replies
  • 568 views

I am designing a website for a software design class and am almost done except for the fact that the buttons I created in my navbar are not changing colors when hovered or even working as links to other pages. The weird thing is that they work on the two other pages ("songs" and "videos") but do not work on the home or bio pages. Please help, it's due at midnight!

Here is the link Regional at Best to the home page and song page Bio.

And here is the code for the navbar on both pages.

<nav><ul>

        <li><a class="nav" href="Assignment5.html">Home</a></li>

        <li><a class="nav" href="SongPage.html">Songs</a></li>

        <li><a class="nav" href="VideoPage.html">Video</a></li>

        <li><a class="nav" href="Bio.html">Bio</a></li>

    </ul>

    </nav>

This topic has been closed for replies.
Correct answer BenPleysier

Go to the style sheet and look for

#postd span{

position: relative;

}

Remove the whole lot and the problem is solved.

While you are at it, you may as well clean up the markup by removing

<div id="postd">

<span>

leave the in between

</span>

</div>

3 replies

BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
March 12, 2017

Go to the style sheet and look for

#postd span{

position: relative;

}

Remove the whole lot and the problem is solved.

While you are at it, you may as well clean up the markup by removing

<div id="postd">

<span>

leave the in between

</span>

</div>

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
sarahw01Author
Participant
March 12, 2017

Yay, thanks so much!

Ussnorway7605025
Legend
March 12, 2017

your links work its just that the user can't click them.

try opening your home page and zoom in ([ctrl]+[+])... now you can hit the links?

Participating Frequently
March 12, 2017

Code looks fine.

Can you please check if all pages are lying at the same location?

Also there should be no spelling mistakes.

sarahw01Author
Participant
March 12, 2017

Ah, didn't even catch that spelling mistake. Thanks!