diff --git a/css/main.css b/css/main.css index ac18d9e..0f5ad52 100644 --- a/css/main.css +++ b/css/main.css @@ -5,7 +5,7 @@ } /* Style the links inside the navigation bar */ -.topnav p { +.topnav a { float: left; color: #f2f2f2; text-align: center; @@ -15,13 +15,13 @@ } /* Change the color of links on hover */ -.topnav p:hover { +.topnav a:hover { background-color: #ddd; color: black; } /* Add a color to the active/current link */ -.topnav p.active { +.topnav a.active { background-color: #4CAF50; color: white; } diff --git a/index.html b/index.html index e035a22..122f0f1 100644 --- a/index.html +++ b/index.html @@ -1,37 +1,39 @@ - - + +
-