Navigation Bar wont work |
Navigation Bar wont work |
peterrpan |
Apr 9 2019, 04:32 PM
Post
#1
|
Group: Members Posts: 3 Joined: 9-April 19 Member No.: 26,874 |
Please help me with my error
Attached thumbnail(s) Attached image(s) |
pandy |
Apr 9 2019, 04:48 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,734 Joined: 9-August 06 Member No.: 6 |
Please, post real text, not images of it. Also explain the problem you want help with.
|
peterrpan |
Apr 9 2019, 04:57 PM
Post
#3
|
Group: Members Posts: 3 Joined: 9-April 19 Member No.: 26,874 |
<div class="navbar">
<ul> <li><a href="https://w3schools.com" class="active">Column 1 <span>Holy Grail</span></a></li> <li><a href="https://facebook.com">3 Column <span>Column 2 </span></a></li> <li><a href="https://yahoo.com.com">2 Column <span>Column 3 </span></a></li> </ul> </div> ------------------------------------------------------------------------------------ .navbar { background-color: #333; overflow: hidden; } .navbar li { display: inline-block; margin-right: -4px; } .navbar ul { list-style-type: none; margin: 0; padding: 0; } /* Style the links inside the navigation bar */ .navbar a { float: left; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } /* Change the color of links on hover */ .navbar a:hover { background-color: #ddd; color: black; } /* Add a color to the active/current link */ .navbar a.active { background-color: #4CAF50; color: white; |
pandy |
Apr 9 2019, 05:33 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,734 Joined: 9-August 06 Member No.: 6 |
OK. And in what way doesn't it work as you expect?
|
peterrpan |
Apr 9 2019, 05:36 PM
Post
#5
|
Group: Members Posts: 3 Joined: 9-April 19 Member No.: 26,874 |
OK. And in what way doesn't it work as you expect? IT doesn't have the block behind it nor are the bulliets removed. Attached image(s) |
pandy |
Apr 9 2019, 05:51 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,734 Joined: 9-August 06 Member No.: 6 |
|
Lo-Fi Version | Time is now: 8th May 2024 - 12:40 AM |