Mtdavies1995 (Talk | contribs) |
Mtdavies1995 (Talk | contribs) m |
||
Line 1: | Line 1: | ||
− | + | ||
<html> | <html> | ||
<head> | <head> | ||
Line 5: | Line 5: | ||
body {margin:0;} | body {margin:0;} | ||
− | + | ull { | |
− | + | margin: -15px; | |
− | margin: | + | |
− | + | ||
overflow: hidden; | overflow: hidden; | ||
background-color: #333; | background-color: #333; | ||
position: fixed; | position: fixed; | ||
− | top: | + | top: 33px; |
width: 100%; | width: 100%; | ||
} | } | ||
− | + | lli { | |
float: left; | float: left; | ||
} | } | ||
− | + | lli a { | |
display: block; | display: block; | ||
color: white; | color: white; | ||
Line 28: | Line 26: | ||
} | } | ||
− | + | lli a:hover:not(.active) { | |
background-color: #111; | background-color: #111; | ||
} | } | ||
Line 39: | Line 37: | ||
<body> | <body> | ||
− | < | + | <ull> |
− | < | + | <lli><a class="active" href="#home">Home</a></lli> |
− | < | + | <lli><a href="#news">News</a></lli> |
− | < | + | <lli><a href="#contact">Contact</a></lli> |
− | < | + | <lli><a href="#about">About</a></lli> |
− | </ | + | </ull> |
</body> | </body> | ||
</html> | </html> |
Revision as of 12:45, 14 June 2016