Pubication
li {
float: left;
}
a:link, a:visited {
display: block; width: 120px; font-weight: bold; color: #FFFFFF; background-color: #98bf21; text-align: center; padding: 4px; text-decoration: none; text-transform: uppercase;
}
a:hover, a:active {
background-color: #7A991A;
} li {
display: inline; padding-right: 20px
} </style> </head> <body>
- <a href="#home">Home</a>
- <a href="#news">News</a>
- <a href="#contact">Contact</a>
- <a href="#about">About</a>