.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
OK. And in what way doesn't it work as you expect?
peterrpan
Apr 9 2019, 05:36 PM
QUOTE(pandy @ Apr 9 2019, 05:33 PM)
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.
pandy
Apr 9 2019, 05:51 PM
Well, then the real thing differs from what you posted. The only error I see in the CSS is that you lack the closing curly after the last rule, but that's probably a mistake when copy-pasting.