0

I am a dusty programmer in html and css. recently I created a forum page and the forum page is hosted with MyBB. because of that the site ends up with www.yourwebsite.com/forums I can't figure out how to make the navbar navigate to pages like www.yourwebsite.com and www.yourwebsite.com/donate from the /forums page.

Here is my current HTML/CSS:

.nav {
height: 40px;
background: #2d2d2d;


}

.nav ul {
margin: 0;
padding: 0;

}

.nav ul li {
list-style: none;
}

.nav ul li a{
text-decoration: none;
text-transform: uppercase;
float: left;
display: block;
padding: 10px 20px;
color: #fff;

}

.nav ul li a:hover {
background: #1c1c1c;
}

.nav ul li a:active {
background: #333;
}
                          <div class="nav">
                                 <ul>
                                      <li><a href="#"><strong>forums</strong></a>   </li>
                                      <li><a href="#">home</a></li>
                                      <li><a href="#">motd</a></li>
                                      <li><a href="index.php">donate</a></li>
                                 </ul>
                          </div>

Thank you for your time. - Joe

0 Answers0