Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- .navbar {
- overflow: hidden;
- }
- .navbarwrapper {
- width: 1100px;
- }
- .navbaritem {
- width: 200px;
- height: 25px;
- border: 1px solid black;
- float: left;
- text-align: center;
- line-height: 25px;
- }
- </style>
- </head>
- <body>
- <div class="navbar">
- <div class="navbarwrapper">
- <div class="navbaritem">Element 1</div>
- <div class="navbaritem">Another Element</div>
- <div class="navbaritem">Another Element</div>
- <div class="navbaritem">Another Element</div>
- <div class="navbaritem">Another Element</div>
- </div>
- </div>
- <div>More page content</div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement