Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style type="text/css">
- #nav {
- border-top: 3px solid gray;
- border-bottom: 3px solid gray;
- }
- #nav ul {
- list-style-type: none;
- padding: 0px;
- }
- #nav li {
- display: block;
- width: 20%;
- float: left;
- text-align: center;
- }
- </style>
- </head>
- <body>
- <div id="nav">
- <ul>
- <li><a href="#">One</a></li>
- <li><a href="#">Two</a></li>
- <li><a href="#">Three</a></li>
- <li><a href="#">Four</a></li>
- <li><a href="#">Five</a></li>
- <br style="clear: left;" />
- </ul>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement