Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #navbar {
- margin: 0px;
- padding: 0px;
- height: 50px;
- width: 1000px;
- position: absolute;
- left: 0px;
- top: 100px;
- background-color: #000;
- color: #FFF;
- }
- #navbar ul {
- margin: 0px;
- padding: 0px;
- list-style-type: none;
- text-align: center;/* centre entire link list */
- }
- #navbar ul li {
- display: inline; /* display each link list item horizontally*/
- padding-top: 0px;
- padding-right: 0px;
- padding-bottom: 0px;
- padding-left: 0px;
- }
- #navbar ul li a {
- background-image: url(images/button3.gif);
- background-repeat: no-repeat;
- text-decoration: none;
- text-align: center; /* centre text on each link */
- height: 30px;
- width: 150px; /*set width of each link "block" */
- display: inline-block; /* display full width of each link "block" including the entire background image - keeping them inline*/
- margin-right: 10px;
- margin-left: 10px;
- padding-top: 10px;
- margin-top: 5px;
- }
- #navbar ul li a:hover {
- background-image: url(images/button.gif);
- background-repeat: no-repeat;
- text-decoration: none;
- text-align: center;
- height: 30px;
- width: 150px;
- display: inline-block;
- margin-right: 10px;
- margin-left: 10px;
- padding-top: 10px;
- margin-top: 5px;
Add Comment
Please, Sign In to add comment