/*NAVIGATION*/ /*bar*/ .topnav { overflow: hidden; } /*style*/ .topnav a { float: left; color: grey; font-family: sans-serif; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 1em; } /*hover link*/ .topnav a:hover { color: yellow; } /*active link*/ .topnav a.active { color: black; }