Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Горизонтальное меню</title>
- <meta charset="utf-8">
- <style type="text/css">
- ul {
- list-style-type: none;
- padding: 0;
- margin: 0;
- background-color:lightsteelblue;
- overflow: hidden;
- width: 70%;
- }
- li {
- float: left;
- }
- li a {
- display: block;
- color: paleturquoise;
- text-align: center;
- text-decoration: none;
- padding: 14px 16px;
- }
- li a:hover {
- color: midnightblue ;
- background-color:cadetblue ;
- }
- </style>
- </head>
- <body>
- <ul>
- <li><a href="#">Главная</a></li>
- <li><a href="#">Сервис</a></li>
- <li><a href="#">Контакты</a></li>
- <li><a href="#">Поиск</a></li>
- <li><a href="#">Помощь</a></li>
- </ul>
- </body>
- </html>
Add Comment
Please, Sign In to add comment